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
What is the use of a ‘ ’ character?
what is uses of .net
Why is python slower than c?
What is the role of this pointer?
How is a macro different from a function?
What are structure members?
I heard that you have to include stdio.h before calling printf. Why?
How to implement a packet in C
What is the heap?
What is the purpose of type declarations?
Can you please explain the scope of static variables?
What is || operator and how does it function in a program?
Explain what is gets() function?
What are the uses of a pointer?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?