Recent questions tagged programming-in-c

1 votes
1 answer
1471
#include<stdio.h int main() { int m[6] = {15, 11, 25, 30, 35, 45}; int p, q, r; p = ++m ; q = m ++; r = m[p++]; printf("%d, %d, %d", p, q, r); return 0; }
0 votes
1 answer
1474
1 votes
2 answers
1479
1 votes
2 answers
1481
For n=2 the P is coming as 3,but none of the option is satisfying?
1 votes
1 answer
1484
Negative Number AND Operation Result in True . Why it is SO ?printf("%d", -1&&1);printf("%d", -1&&-1);
3 votes
1 answer
1485
0 votes
1 answer
1486
3 votes
4 answers
1489
0 votes
2 answers
1490
3 votes
1 answer
1491
1 votes
1 answer
1494
0 votes
0 answers
1495
0 votes
1 answer
1496
Is all the array variables are stored in data segment or it is depends on the scope (local or global)?
0 votes
0 answers
1499
#include<stdio.h>void foo(char );int main(){ char *string = "Hello"; foo(&string); printf("%s",string); return 0;}void foo(char a){ *a++;} What is it ...
3 votes
1 answer
1500