why we are using semicolon at the end of printh statment
Answer Posted / shashi
semicolon is used for terminate the line
| Is This Answer Correct ? | 38 Yes | 1 No |
Post New Answer View All Answers
What is register variable in c language?
to find the closest pair
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
What is the general form of a C program?
what does static variable mean?
what is a function method?give example?
What are structures and unions? State differencves between them.
What are variables and it what way is it different from constants?
Write a program to identify if a given binary tree is balanced or not.
What is a constant and types of constants in c?
Explain how do you override a defined macro?
What is variable initialization and why is it important?
What is the correct declaration of main?
Why is main function so important?
How do you determine a file’s attributes?