Which is not valid in C?
1) class aClass{public:int x;}
2) /* A comment */
3) char x=12;
Answer Posted / chandrashekhar
1) Is invalid
3)is also invalid
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is include directive in c?
Explain how do you determine whether to use a stream function or a low-level function?
Explain what are reserved words?
Do you know pointer in c?
What math functions are available for integers? For floating point?
code for replace tabs with equivalent number of blanks
Write a program to use switch statement.
What is hash table in c?
Are the variables argc and argv are always local to main?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
How can I direct output to the printer?
What is c language & why it is used?
How do you sort filenames in a directory?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if