Functions and Pointers questions

Q48

GATE CS 2012 CSC ProgrammingMCQ2 marks−2/3 if wrong
What output will be generated by the given code segment?
Show answer without attempting

Answer: C

Q49

GATE CS 2012 CSC ProgrammingMCQ2 marks−2/3 if wrong
What output will be generated by the given code segment if:
Line 1 is replaced by auto int a = 1;
Line 2 is replaced by register int a = 2;
Show answer without attempting

Answer: D

0/20 correct0 marks

Related topics in C Programming