JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
C Programming interview questions
C Programming interview questions
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 5
1. Which of the following is a logical operator?
A. !
B. &&
C. ||
D. All of the above
Show Correct Answer
Correct Answer is :
All of the above
2. The prototype of a function can be used to,
A. Define a function
B. Declare a function
C. Erase a function
D. None of the above
Show Correct Answer
Correct Answer is :
Declare a function
3. The return keyword used to transfer control from a function back to the calling function.
A. Yes
B. Switch
C. go back
D. goto
Show Correct Answer
Correct Answer is :
Yes
4. In the given below statement, what does the “arr” indicate? char *arr[30];
A. arr is a array of function
B. arr is a array of 30 characters
C. arr is a pointer to an array
D. arr is a array of 30 character pointers
Show Correct Answer
Correct Answer is :
arr is a array of 30 character pointers
5. What is the output of the following program? #include
main() { char *s = "Abc"; while(*s) printf("%c", *s++); }
A. Abc
B. bc
C. Compile error
D. Runtime error
Show Correct Answer
Correct Answer is :
Abc
Similar Interview Questions
Search for latest jobs
Find Jobs