Welcome to Your Quiz: Aptitude Test C Programming of TCS Fresher or Campus Interview

Name Email
1. Which is not a string function?
2. What is the task of pre-processor?
3. The inorder and preorder traversal of a binary tree are d b e a f c g and a b d e c f g, respectively. The post-order traversal of the binary tree is:
4. Predict the Output : 

float a = 0.1;
5. Which of the following is NOT a valid storage class in C language?
6. How many times the below loop will be executed?
#include <stdio.h>
int main()
int x, y;
for(x=5; x>=1; x--)
for(y=1; y<=x; y++)
7. Neha is developing an IP telephony software in which the audio is encoded and transmitted by the sender as network packets through a communication channel. At the other end these packets are assembled and processed further.Neha  recognizes that there maybe a very large number of packets this number is unknown and which will be processed while more packets are being received .assume that the packets arrive in right order .what data structure should Neha use?
8. Which is the character array used to accept command line arguments?
9. The full set of operations allowed on a stack are
10. Which of the following is true?
11. Which of the following does not require to include math.h header file?
12. Which of the following is true?
13. Comment on the below while statement
while(0 == 0)
14. Which address does a pointer to an array store:
15. A program reads in 500 integers in the range [0…100]representing the scores of 500 students.it then prints the frequency of each score above 50.what would be the best way for the program to store the frequencies?
16. The difference between variable declaration and variable definition is
17. Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1?
18. What is a dangling pointer?
19. In c language, if a function return type is not explicitly defined then it defaults to what data type?
20. Which of this is used to skip one iteration:

Thank You for Submitting your response for Quiz

Aptitude Test C Programming of TCS Fresher or Campus Interview

Please click on View Result Button to see the Result.

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