Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions tagged programming-in-c
0
votes
1
answer
1
C: Test Your Aptitude
#include<stdio.h> void main() { char arr[]=”\0”; if(printf(“%s\n”,arr)) printf(“Nothing\n”); else printf(“Something\n”); } What is the output of the following code?
MeeraUdasi
asked
in
Programming
17 hours
ago
by
MeeraUdasi
26
views
programming-in-c
0
votes
1
answer
2
Fork() system call.
main(){ int i,n; for(int i=0;i<n;i++){ fork(); printf("*"); } } How many times ‘*’ will be printed? The answer is not 2^n ? why?
vikranty2j
asked
in
Operating System
2 days
ago
by
vikranty2j
60
views
programming-in-c
operating-system
0
votes
1
answer
3
physics wallah dpp #clanguage #pointer
_Harshit
asked
in
Programming
4 days
ago
by
_Harshit
84
views
programming-in-c
pointers
physics-wallah
1
vote
2
answers
4
GATE CSE 2023 | Question: 25
The integer value printed by the $\textsf{ANSI-C}$ program given below is _______________ #include<stdio.h> int funcp(){ static int x = 1; x++; return x; } int main(){ int x,y; x = funcp(); y = funcp()+x; printf("%d\n", (x+y)); return 0; }
admin
asked
in
Programming
Feb 15
by
admin
1.2k
views
gatecse-2023
programming
programming-in-c
output
numerical-answers
1-mark
2
votes
1
answer
5
GATE CSE 2023 | Question: 26
Consider the following program: int main() int f1() int f2(int X) int f3() { { { { f1(); return(1); f3(); return(5); f2(2); } if(X==1) } f3(); return f1(); return(0); else } return (X*f2(X-1)); } Which one of the following options represents the activation tree corresponding to the main function?
admin
asked
in
Programming
Feb 15
by
admin
1.1k
views
gatecse-2023
programming
programming-in-c
recursion
2-marks
0
votes
1
answer
6
ISRO CS 2018
#include <stdio.h> int main() { int i,j,x; scanf("%d ",x); i=1; j=1; while(i<10){ j=j*i; i=i+1; if(i==x) break; } return 0; }
Rakshita Jadoun
asked
in
Programming
Feb 4
by
Rakshita Jadoun
171
views
isro2018
programming-in-c
0
votes
1
answer
7
#madeeasy
is it ok to mark both and at least option in the case of MSQ, on my view in this question first option will always be true so marking the second is correct?
Dknights
asked
in
Programming
Feb 1
by
Dknights
106
views
programming-in-c
made-easy-test-series
query
0
votes
1
answer
8
Made Easy test series
answer given is 33
TusharKumar
asked
in
Programming
Jan 31
by
TusharKumar
178
views
programming-in-c
output
made-easy-test-series
0
votes
1
answer
9
Programming and Data Structure | Static int | Made Easy Test series (Modified)
Consider the following C code snippets, labeled as P1, P2 and P3, the output of P1 is X , of P2 is Y and of P3 as Z . What is the value of X+Y+Z P1 #include <stdio.h> int f(int n) { static int r=40; if (n==0 | ... 1,r)-r; } else return f(n-1,r)+(2*r); } int main() { printf("%d",f(6,40)); return 0; }
Souvik33
asked
in
Programming
Jan 29
by
Souvik33
149
views
data-structures
programming-in-c
0
votes
0
answers
10
TestBook testSeries board game question
Consider a board game in consist of m n grid. A coin is located at the top-left corner of an m n grid. The coin can only move either down or right at any point in time. The ultimate goal of the game places the coin at the bottom-right corner of the grid. ... path(m-1, n) + path(m, n-1); } Find the number of unique paths if grid order is 5 4. 38 25 35 28
Sahil_Lather
asked
in
Programming
Jan 28
by
Sahil_Lather
84
views
data-structures
programming-in-c
dynamic-programming
0
votes
0
answers
11
TestBook testseries TLB and C programming combined question
Consider the following C function executed in an OS with paging where the page size is 4 kilobytes. Further, assume that the system employs a 32-entry direct mapped TLB. int *alloc_and_init() { int counter, value=0, size=2048; int ... of the program, what is the number of TLB misses during the execution of the for loop? 0 1 2048 2
Sahil_Lather
asked
in
Programming
Jan 28
by
Sahil_Lather
39
views
operating-system
programming-in-c
data-structures
pointers
0
votes
1
answer
12
Programming
Someone please explain. Function of ‘^’
Overflow04
asked
in
Programming
Jan 25
by
Overflow04
107
views
programming-in-c
self-doubt
test-series
0
votes
2
answers
13
Programming and ds
How many number of add and remove operations are required to access 26th element of a queue of 50 elements,so that the original queue remains the same after the access is Note:-Direct accessing through the index is not included.
Sourin Kundu
asked
in
Programming
Jan 23
by
Sourin Kundu
94
views
programming-in-c
0
votes
1
answer
14
Ace Test series |C programming | What will be the output of the following program ?
What will be the output of the following program ? answer is 8 but I am getting 5, please explain where I am wrong
abhinowKatore
asked
in
Programming
Jan 18
by
abhinowKatore
225
views
programming-in-c
recursion
1
vote
1
answer
15
Made Easy Test Series | Prog And DS | Linked List
The following C function rearranges the members of a single-linked list of integers that is passed as a parameter. The list of numbers 1, 2, 3, 4, 5, 6, and 7 in the specified order is passed to the function when it is called. How many components will move about in the list once the function is finished running?
Souvik33
asked
in
Programming
Jan 11
by
Souvik33
164
views
programming-in-c
made-easy-test-series
data-structures
linked-list
0
votes
1
answer
16
Choose the size of the below struct. Struct{ Int a; Char b; Float c; } 2 4 7 10
Choose the size of the below struct. Struct{ Int a; Char b; Float c; } 1)2 2)4 3)7 4)10
Jeetmoni saikia
asked
in
Programming
Jan 11
by
Jeetmoni saikia
282
views
programming-in-c
0
votes
0
answers
17
Made Easy Test Series | Prog. and DS | Dynamic Memory Allocation | Malloc
Which line number contains an error or warning:
Souvik33
asked
in
Programming
Jan 9
by
Souvik33
221
views
programming-in-c
data-structures
memory-management
made-easy-test-series
numerical-answers
Page:
1
2
3
4
5
6
...
59
next »
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
BITSHD 2023
My journey from being a MSc student to AIR 239 in GATE CSE 2023 and qualified UGC-NET JRF.
NEEPCO Recruitment 2023
GATE CSE 2023 Results
IIIT Banglore MTech 2023-24
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.7k)
Non GATE
(1.3k)
Others
(2.5k)
Admissions
(653)
Exam Queries
(845)
Tier 1 Placement Questions
(17)
Job Queries
(76)
Projects
(9)
Unknown Category
(866)
Recent questions tagged programming-in-c
Recent Blog Comments
Please provide some tips about NET, since I want...
Amazing story to hear
Link added now:...
Sir can you please provide some good resources...
Where can we see the responses of the form filled?