C Programming interview questions

C Programming interview questions

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?

Correct Answer is : All of the above

2. The prototype of a function can be used to,

Correct Answer is : Declare a function

3. The return keyword used to transfer control from a function back to the calling function.

Correct Answer is : Yes

4. In the given below statement, what does the “arr” indicate? char *arr[30];

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++); }

Correct Answer is : Abc

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon