Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

GATE C Interview Questions
Questions Answers Views Company eMail

#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }

14 42886

main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?

1 7172

Post New GATE C Interview Questions




Un-Answered Questions

Explain the meaning of keyword 'extern' in a function declaration.

720


Which is not true about evaluate statement

1572


What are spreadsheets mainly used for?

279


Tell me do you possess any knowledge about accounting standards?

598


How does the if function work in excel?

295






Can I delete old microsoft visual c++ files?

522


Explain #pragma statements.

604


How can I sort more data than will fit in memory?

626


Will count(column) include columns with null values in its count?

666


What is python used for at google?

436


Which is better Oracle or MS SQL? Why?

5433


Explain some of the controls setup during the configuration of internal order types in the co module?

605


What is id type in objective c?

1


How do I find the windowsapps folder?

601


How can you terminate vi session?

461