Computer Sciences > GATE 2024 Set-2 > C Programming
Consider the following C function definition.
Which of the following statements is/are TRUE?
A
Assuming a character array c is declared as char c = "abcd" in main(), the function call fX(c) will always return a value
B
Assuming a character array c is declared as char c = "abcd" in main(), the function call fX("abcd") will always return a value
C
The code of the function will not compile
D
Assuming a character pointer c is declared as char *c = "abcd" in main(), the function call fX(c) will always return a value

Correct : a,d

Similar Questions

What is the output of the following C program?
#924 MCQ
What is the output of the following C program?
#924 MCQ
What is the output of the following C program?
#924 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......