Welcome to Your Quiz: Aptitude Test C Programming For Intermediate Students​

Name Email
1. What are the types of linkages?
2. Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?
3. Which of the following cannot be checked in a switch-case statement?
4. What is (void*)0?
5. The ________ operator is true only when both the operands are true.
6. In C all functions except main() can be called recursively.
7. Which of the following is TRUE about argv?
8. What do the following declaration signify?
char **argv
9. What will be the output of the program ?
#include<stdio.h>
#include<string.h>
int main()
{
char str1[20] = "Hello", str2[20] = " World";
printf("%s\n", strcpy(str2, strcat(str1, str2)));
return 0;
}
10. The function that calls itself for its processing is known as.
11. Can we write a function that takes a variable argument list and passes the list to another function?
12. What will be the output of the program ?
#include<stdio.h>
int main()
{
int x, y, z;
x=y=z=1;
z = ++x || ++y && ++z;
printf("x=%d, y=%d, z=%d\n", x, y, z);
return 0;
}
13. The size of a structure can be determined by
i. size of variable name
ii. size of (struct tag)
14. In C, if you pass an array as an argument to a function, what actually gets passed?
15. What is the result of 16>>2?
16. The library function used to find the last occurrence of a character in a string is
17. Which of the statements is correct about the program?
#include <stdio.h>
int main()
{
int i=10;
int *j=&i;
return 0;
}
18. In the following code what is 'P' ?
typedef char *charp;
const charp P;
19. Can you use the fprintf() to display the output on the screen?
20. Who calls to the function main()

Thank You for Submitting your response for Quiz

Aptitude Test C Programming For Intermediate Students​

Please click on View Result Button to see the Result.



(Visited 42 times, 1 visits today)
Show Buttons
Hide Buttons