how to write a program which adds two numbers without using
semicolon in c
Answer Posted / g.rajitha
void main()
{
int a,b;
if(printf("Enter two numbers"))
if(scanf("%d %d",&a,&b))
if(printf("%d",(a+b)))
}
| Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
Describe newline escape sequence with a sample program?
What is difference between main and void main?
Why string is used in c?
Write a code to remove duplicates in a string.
What are qualifiers in c?
What are header files? What are their uses?
Explain how can you avoid including a header more than once?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
How can type-insensitive macros be created?
What is the use of function in c?
What's the right way to use errno?
Explain a file operation in C with an example.
How can you find out how much memory is available?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell