453 views
0 votes
0 votes

What will be output?

1 Answer

Related questions

2 votes
2 votes
1 answer
2
Shivi rao asked Oct 11, 2017
499 views
What is the output of the following program?int main ( ){char *str = “Gate2018”printf (“%d”, output (str)) ;return 0;}int output(char *P1){char *P2 = P1 ;while (*...
4 votes
4 votes
1 answer
3
Akriti sood asked Dec 28, 2016
1,305 views
main () { if( i) { main (); printf("%d", i); } } 5 4 3 2 1 1 2 3 4 5 0 0 0 0 0 Compiler error
1 votes
1 votes
1 answer
4
Akriti sood asked Dec 20, 2016
317 views
#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; }