MCQOPTIONS
Bookmark
Saved Bookmarks
→
Declarations and Initializations
→
General
→
Which of the following is not a pointer declaratio...
1.
Which of the following is not a pointer declaration?
A.
char a[10];
B.
char a[] = { 1', 2', 3', 4'};
C.
char *str;
D.
char a;
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Which keyword is used to prevent any changes in the variable within a C program?
Which of the following declaration is illegal?
Which of the following format identifier can never be used for the variable var? int main() { char *var = "Advanced Training in C by AllIndiaExams.com"; }
Does this compile without error? int main() { for (int k = 0; k < 10> return 0; }
Does this compile without error? int main() { int k; { int k; for (k = 0; k < 10> } }
Which of the following declaration is not supported by C?
Is the following statement a declaration or definition? extern int i;
A variable declared in a function can be used in main?
Is there any difference in the following declarations? int myfun(int arr[]); int myfun(arr[20]);
Suppose a program is divided into three files f1, f2 and f3, and a variable is defined in the file f1 but used in files f2 and f3. In such a case would we need the extern declaration for the variables in the files f2 and f3?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies