1.  In while loop 2

2.  In while loop in while loop 3

3.  In while loop 3

4.  Infinite loop

4
Correct Answer :

In while loop 2


Explanation :
No Explanation available for this question

1.  char

2.  int

3.  double

4.  multiple type-casting in return is illegal

4
Correct Answer :

int


Explanation :
No Explanation available for this question

1.  char

2.  int

3.  double

4.  multiple type-casting in return is illegal

4
Correct Answer :

int


Explanation :
No Explanation available for this question

1.  A function with same name cannot have different signatures

2.  A function with same name cannot have different return types

3.  A function with same name cannot have different number of parameters

4.  All of the mentioned

4
Correct Answer :

All of the mentioned


Explanation :
No Explanation available for this question

1.  typedef char [] string;

2.  typedef char *string;

3.  typedef char [] string; and typedef char *string;

4.  Such expression cannot be generated in C

4
Correct Answer :

typedef char *string;


Explanation :
No Explanation available for this question

1.  10 spaces before the string state is printed

2.  Print empty spaces if the string state is less than 10 characters

3.  Print the last 10 characters of the string

4.  None of the mentioned

4
Correct Answer :

Print empty spaces if the string state is less than 10 characters


Explanation :
No Explanation available for this question

1.  5, 5, 5, 5, 5

2.  5, 0, 0, 0, 0

3.  5, (garbage), (garbage), (garbage), (garbage)

4.  (garbage), (garbage), (garbage), (garbage), 5

4
Correct Answer :

5, 0, 0, 0, 0


Explanation :
No Explanation available for this question

1.  ‘ ’ character of array line is encountered

2.  ‘n’ character in array line is encountered

3.  ‘t’ character in array line is encountered

4.  When an error occurs

4
Correct Answer :

When an error occurs


Explanation :
No Explanation available for this question

1.  Code/text segment

2.  Data segment

3.  Bss segment

4.  Stack

4
Correct Answer :

Bss segment


Explanation :
No Explanation available for this question

1.  #if#else#endif

2.  #if#elif#endif

3.  #if#if#endif

4.  #if#undef#endif

4
Correct Answer :

#if
#if
#endif


Explanation :
No Explanation available for this question

Interview Questions

MongoDB
Java Script
Node JS
PHP
JQuery
Python