adspace
Why is a semicolon (;) put at the end of every program statement?
Answer Posted / Jamna Prasad
A semicolon (;) is used in C to mark the end of a statement. It enables the compiler to distinguish between individual statements and avoid syntax errors. Without semicolons, the compiler might not correctly understand where one statement ends and another begins.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you convert strings to numbers in C?
Is int a keyword in c?
will u please send me the placement papers to my mail???????????????????
what is ur strangth & weekness
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
write a progrmm in c language take user interface generate table using for loop?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is pointer to pointer in c with example?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
What is dynamic dispatch in c++?
develop algorithms to add polynomials (i) in one variable
`write a program to display the recomended action depends on a color of trafic light using nested if statments
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?