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
Write a program to use switch statement.
Describe the steps to insert data into a singly linked list.
What is pragma c?
What is bin sh c?
What is structure in c language?
How can you call a function, given its name as a string?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What are run-time errors?
How can I recover the file name given an open stream or file descriptor?
What is openmp in c?
Where register variables are stored in c?
What is difference between static and global variable in c?
write a program in c language to print your bio-data on the screen by using functions.
Where static variables are stored in c?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(