GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
1. | What will be the output of the program? | ||
A. | PakMcqs 1 7 11 0 | ||
B. | 1 | ||
C. | 4 | ||
D. | 7 | ||
2. | What will be the output of the program? | ||
A. | Apple 12 | ||
B. | Boys 13 | ||
C. | Cats 14 | ||
D. | Dogs 12 | ||
3. | Point out the error in the program? | ||
A. | Error: fun() needs return type | ||
B. | Error: ptr Lvalue required | ||
C. | Error: Invalid declaration of fun(...) | ||
D. | No Error | ||
4. | Point out the error if any in the following program (Turbo C)? | ||
A. | Error: unknown variable ptr | ||
B. | Error: Lvalue required for parameter | ||
C. | No error and print A a b c | ||
D. | No error and print 4 A a b c | ||
5. | Point out the error in the program? | ||
A. | Error: ptr has to be set at begining | ||
B. | Error: ptr must be type of va_list | ||
C. | Error: invalid access to list member | ||
D. | No Error | ||