TCS NQT-2019 Practice Test(16th July 2019):1

Fill your details before you start the exam.
Answer All Questions.
Each question carries 1 mark.
All are Multiple Choice Questions.
Email *
Name of the Candidate *
Roll Number *
Branch *
Which of the below statements are true about C programming language.                                           1. main() function should always be the first function present in a C program file.                     2. all the elements of an union share their memory location.                                                     3. A void pointer can hold address of any type and can be type castes to any type.                      4. A static variable hold random junk value if it is not initialized.
1 point
Clear selection
The difference between variable declaration and variable definition is
1 point
Clear selection
Where the local variables are stored?
1 point
Clear selection
Select the missing statement.
1 point
Captionless Image
Clear selection
In C, if a function’s return type is not explicitly defined then it’s default to ______ type.
1 point
Clear selection
For passing command line arguments the main function should be like _______
1 point
Clear selection
Which of the following is a User-defined data type?
1 point
Clear selection
How can you make scanf() method accept Multi-Word Strings?
1 point
Clear selection
What is the difference between ‘A’ and “A”?
1 point
Clear selection
Is a default case is necessary in a switch statement?
1 point
Clear selection
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy