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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me

1650


What is #line?

800


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

15984


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

1620


How are strings stored in c?

769






Explain what is a const pointer?

815


Explain what is meant by 'bit masking'?

842


Dont ansi function prototypes render lint obsolete?

794


Explain the advantages of using macro in c language?

749


What are the two types of functions in c?

742


What is a struct c#?

758


What is unary operator?

833


Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

893


Which of these functions is safer to use : fgets(), gets()? Why?

851


What is pointers in c?

872