How to add two numbers without using semicolon n c????

Answers were Sorted based on User's Feedback



How to add two numbers without using semicolon n c????..

Answer / sorab aggarwal

#include<conio.h>
#include<stdio.h>
void main()
{
if(printf("%d",5+6))
{}
getch();
}

Is This Answer Correct ?    27 Yes 8 No

How to add two numbers without using semicolon n c????..

Answer / ashish lamse

#include<iostream.h>
#include<stdio.h>
#include<conio.h>
void main()
{
if(cout<<"add of two no="<<10+20)
{}
if(getch())
{}
}

Is This Answer Correct ?    4 Yes 1 No

How to add two numbers without using semicolon n c????..

Answer / guest

int main()
{

return(5+6);
}

Is This Answer Correct ?    7 Yes 11 No

Post New Answer

More C Interview Questions

What is a scope resolution operator in c?

0 Answers  


When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these

1 Answers   Accenture, IBM,


how to write a data 10 in address location 0x2000

3 Answers  


Write code for initializing one dimentional and two dimentional array in a C Program?

5 Answers   Deshaw, Edutech, GMD,


write a code for large nos multilication (upto 200 digits)

2 Answers   Persistent,






what are the compilation steps? ( i want inside the compiler )

2 Answers  


Write a program which returns the first non repetitive character in the string?

0 Answers   Expedia,


write a program to print the one dimensional array.

1 Answers  


how can i get output the following... 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 and 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 plz plz...

3 Answers  


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

0 Answers   Aspire, Infogain,


what is the output of printf("%d",(scanf("%d",10));

10 Answers  


What is the advantage of c?

0 Answers  


Categories