MCQOPTIONS
Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Testing Subject
General Aptitude
Logical and Verbal Reasoning
English Skills Ability
Technical Programming
Current Affairs
General Knowledge
Finance & Accounting
GATE (Mechanical Engineering)
Chemical Engineering
→
C Programming
→
Floating Point Issues
→
Which of the following special symbol is allowed i...
1.
Which of the following special symbol is allowed in a variable name ?
A.
* (star)
B.
|(vertical line)
C.
- (dash)
D.
_ (underscore)
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What would be the output of following program ?int x = 15;main(){ int x = 60; print(" n%d", x);}
Which of the following is the correct output for the program given below?#include <studio.h>int main(){ extern int x; x = 30; printf("%d n", sizeof(x)); return 0;}
Which of the following is the correct output for the program given below?#include <studio.h>int main(){ extern int k; printf("%d n", k ); return 0;}int k = 30;
Which of the following is the correct output for the program given below ?#include <studio.h>int main(){ extern int fun (float); int k; k = fun (5.74); printf ("%d n", k); return 0;} int fun (kk)float kk; { return ((int) kk); }
What will be the output of the following C code?#include <stdio.h> void fun(const int *); int main() { const int k = 12; printf("%d ", k); fun(&k); printf("%d", k); } void fun(const int *k) { *k = 21; }
What will be the output of the following C code? #include <stdio.h> int main() { int Eighteen = 18; int eighteen = 15; printf("%d", eighteen); return 0; }
Will the following C code compile without any error?#include <stdio.h> int main() { int n; { int n; for (n = 0; n < 12; n++); } }
What will be the output of the following C code? #include <stdio.h> int main() { k = 23; printf("%d n", k++); return 0; }
What will be the output of the following C code?#include <stdio.h> int main() { const int k = 11; int *p = &k; *p = 22; printf("%d n", k); return 0; }
What will be the output of the following C code?#include <stdio.h> void main() { int m = 12; float m = 12; printf("%d", m) }
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