Aptitude Test of TCS Fresher or Campus Interview

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

Name Email
1. Which of the following is NOT a valid storage class in C language?
2. What is the task of pre-processor?
3. Comment on the below while statement
while(0 == 0)
4. Which of the following is true?
5. Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1?
6. Which of this is used to skip one iteration:
7. Which address does a pointer to an array store:
8. 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:
9. 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?
10. The full set of operations allowed on a stack are
11. Which of the following does not require to include math.h header file?
12. 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?
13. In c language, if a function return type is not explicitly defined then it defaults to what data type?
14. The difference between variable declaration and variable definition is
15. Predict the Output : 

float a = 0.1;
16. Which of the following is true?
17. 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++)
18. Which is not a string function?
19. Which is the character array used to accept command line arguments?
20. What is a dangling pointer?

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 149 times, 1 visits today)