Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can we print any string in c language without using
semicolon(;)(terminator) in whole program.

Answer Posted / praveen vinny

/*
What if I want to print the sum of two numbers inside a
string without using a semicolon
*/

#include<iostream.h>
void main()
{
int a,b;
if(cout<<"Please enter two numbers : ")
if(cin>>a>>b)
if(cout<<"Sum = "<<(a+b))
}

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of a ‘’ character?

1091


what is uses of .net

1742


Why is python slower than c?

1089


What is the role of this pointer?

1070


How is a macro different from a function?

1186


What are structure members?

1094


I heard that you have to include stdio.h before calling printf. Why?

1067


How to implement a packet in C

2888


What is the heap?

1219


What is the purpose of type declarations?

1120


Can you please explain the scope of static variables?

1059


What is || operator and how does it function in a program?

1092


Explain what is gets() function?

1077


What are the uses of a pointer?

1151


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

1031