1
You visited us
1
times! Enjoying our articles?
Unlock Full Access!
Byju's Answer
Standard IX
Civics
The Three Organs of Government
Which of the ...
Question
Which of the following declaration is not supported by C?
A
float str = 3e2;
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Both String str; & float str = 3e2;
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
char *str;
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
String str;
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is
D
String str;
It is legal in Java, but not in C
Suggest Corrections
6
Similar questions
Q.
Which of the following is not a valid variable name declaration?
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
Related Videos
The Three Organs of Government
CIVICS
Watch in App
Explore more
The Three Organs of Government
Standard IX Civics
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
AI Tutor
Textbooks
Question Papers
Install app