1. In while loop 2
2. In while loop in while loop 3
3. In while loop 3
4. Infinite loop
In while loop 2
1. char
2. int
3. double
4. multiple type-casting in return is illegal
int
1. char
2. int
3. double
4. multiple type-casting in return is illegal
int
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
All of the mentioned
1. typedef char [] string;
2. typedef char *string;
3. typedef char [] string; and typedef char *string;
4. Such expression cannot be generated in C
typedef char *string;
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
Print empty spaces if the string state is less than 10 characters
1. 5, 5, 5, 5, 5
2. 5, 0, 0, 0, 0
3. 5, (garbage), (garbage), (garbage), (garbage)
4. (garbage), (garbage), (garbage), (garbage), 5
5, 0, 0, 0, 0
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
When an error occurs
1. Code/text segment
2. Data segment
3. Bss segment
4. Stack
Bss segment
1. #if#else#endif
2. #if#elif#endif
3. #if#if#endif
4. #if#undef#endif
#if
#if
#endif