Which of the following about the C comments is incorrect ?
a.commentscan go over multiple lines
b.comments can start any where in the line
c.a line can contain comments with out any language statements
d.comments can occur within comments
Answer Posted / kushal
@above
your syntax is false,thats why u r getting an error,
if u write like this,
scanf("%d,%d", c /*dis are the values to be printed */ a,b);
then u will nt face any error
write ans shold be
<d>
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Explain what are the different data types in c?
What is pointer & why it is used?
What is dangling pointer in c?
How are portions of a program disabled in demo versions?
Does c have an equivalent to pascals with statement?
What is zero based addressing?
how to find anagram without using string functions using only loops in c programming
FILE PROGRAMMING
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Can a pointer be volatile in c?
What is d scanf?
How to draw the flowchart for structure programs?
Explain which function in c can be used to append a string to another string?
Write a program with dynamically allocation of variable.