Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage
Programming in C.
Recursion.
Filter
Recent
Hot!
Most votes
Most answers
Most views
Previous GATE
Featured
Recent questions in Programming in C
#61
425
views
2
answers
2
votes
cil-2017
VS
425
views
VS
asked
Apr 2, 2017
Programming in C
cil-2017
+
–
#62
1.7k
views
1
answers
1
votes
What will be the output of the following C program? If you think it will give a runtime error, you need to mention it.
What will be the output of the following C program? If you think it will give a runtime error, you need to mention it. In either case,your answer must include proper just...
.
1.7k
views
.
asked
Apr 2, 2017
Programming in C
programming-in-c
+
–
#63
946
views
1
answers
1
votes
K&R BOOK
I have learnt that order of function call of f1() and f2() is compiler dependent from K&R book.Why precedence and associavity does not work in this case ?? Please clarify...
Ajitesh Mandal
946
views
Ajitesh Mandal
asked
Apr 2, 2017
Programming in C
programming-in-c
+
–
#64
1.2k
views
1
answers
0
votes
Let us c ch 9 [B] d
I am unable to understand the error code. What does 'invalid conversion from int to int mean ? plz help.The code-#include <stdio.h>int function(int *);int main(){ int ...
Pragya
1.2k
views
Pragya
asked
Mar 29, 2017
Programming in C
programming-in-c
pointers
+
–
#65
661
views
2
answers
0
votes
Programming in C -Dennis Ritchie
My question is when I give :i/p - abcdehow i get output - abcde .I mean C is a character so shouldn't o/p also be an single character . Why is o/p coming out to be be str...
anonymous
661
views
anonymous
asked
Mar 29, 2017
Programming in C
programming-in-c
+
–
#66
468
views
1
answers
0
votes
Dennis Ritche -The C programming Language
My question is when I give :i/p - $abcde$how i get output - $abcde$ .I mean C is a character so shouldn't o/p also be an single character . Why is o/p coming out to be be...
Udit Arora
468
views
Udit Arora
asked
Mar 29, 2017
Programming in C
programming-in-c
+
–
#67
415
views
1
answers
0
votes
IIT Madras interview - what is the output of the C code?
int c=31, n;scanf(“%d”,&n);int k=n<<c;if(k&&1) return 1;return 0;
Mandeep Singh
415
views
Mandeep Singh
asked
Mar 28, 2017
#68
562
views
1
answers
0
votes
Virtual Gate Test Series: Programming & DS - C Program Output
Find the out put of the following C program. main() { char *ptr = "techtud"; char p= (*ptr)++; printf("%s\n",ptr); }the output of the program came as$?$
sushmita
562
views
sushmita
asked
Mar 27, 2017
Programming in C
programming-in-c
output
virtual-gate-test-series
+
–
#69
431
views
1
answers
1
votes
Virtual Gate Test Series: Programming & DS - Output Of The Program
What does the following program print?int data[3][4] = {{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}}; int main(void) { int r, c; for(r = 0; r < 3; r++) for(c = 0; c < 4; ...
sushmita
431
views
sushmita
asked
Mar 27, 2017
Programming in C
programming-in-c
output
virtual-gate-test-series
+
–
#70
408
views
0
answers
0
votes
Testbook Test Series: Programming & DS - Programming In C
Rock
408
views
Rock
asked
Mar 25, 2017
Programming in C
testbook-test-series
programming-in-c
structure
+
–
#71
453
views
1
answers
1
votes
list type
// Graph class represents a undirected graph// using adjacency list representationclass Graph{ int V; // No. of vertices // Pointer to an array containing adjac...
Akriti sood
453
views
Akriti sood
asked
Mar 24, 2017
Programming in C
programming-in-c
+
–
#72
897
views
2
answers
2
votes
error in the code
why is it showing error??#include <stdio.h>int main() { extern int i; i=20; printf("%d",i);}
Akriti sood
897
views
Akriti sood
asked
Mar 24, 2017
Programming in C
programming-in-c
+
–
#73
1.3k
views
2
answers
1
votes
C programming doubt
I am getting segmentation fault for the following code.Please help to rectify. #include <stdio.h #include <stdlib.h struct person { int age; float weight; char *name; }; ...
Pranabesh Ghosh 1
1.3k
views
Pranabesh Ghosh 1
asked
Mar 23, 2017
#74
1.2k
views
1
answers
1
votes
C Programming(interview)
Write an algorithm of the given problemGiven a chess board of order NxM and source points (s1,s2) and destination points (d1,d2), Your task to find min number of moves re...
srestha
1.2k
views
srestha
asked
Mar 23, 2017
Programming in C
programming-in-c
+
–
#75
1.4k
views
2
answers
1
votes
C Programming (interview)
WAP where smallest subarrays with sum greater than x?Say an array={1,5,6,2,45,17};Now, x=60Now we have to find smallest subarray which is greater than x
srestha
1.4k
views
srestha
asked
Mar 23, 2017
Programming in C
programming-in-c
output
+
–
#76
3.3k
views
4
answers
3
votes
C PROGRAMMING
kamboj
3.3k
views
kamboj
asked
Mar 20, 2017
#77
4.4k
views
2
answers
1
votes
full binary tree , complete and almost complete binary tree difference
what is the difference between all these types of trees1)full binary tree 2) complete binary tree 3) almost complete binary tree 4)perfect binary tree 5)strictly binary t...
Meenakshi Sharma
4.4k
views
Meenakshi Sharma
asked
Mar 19, 2017
#78
622
views
2
answers
1
votes
c programming
#include <stdio.h int K = 4; int a ; unsigned int m; int* check(unsigned int n) { int res = 1; int count = 0; for(int i=0;i<K;i++) if(!(n&(1<<i))) { count++; res = 0; } a...
dd
622
views
dd
asked
Mar 19, 2017
Programming in C
programming-in-c
+
–
#79
844
views
1
answers
1
votes
C++ oops
Can someone explain the difference between abstraction and encapsulation with programming example?
Adiaspirant
844
views
Adiaspirant
asked
Mar 18, 2017
#80
501
views
1
answers
1
votes
pointer
int main(){ int a[5]={1,2,3,4,5}; char *str="hello"; printf("%p %p",a,&a); printf("%p %p",str,&str); }Why in $1$st printf , both the outputs are same($a$,&$a$)And in $2$n...
Learner_jai
501
views
Learner_jai
asked
Mar 17, 2017
Programming in C
programming-in-c
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
...
206
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register