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

Answer Posted / anshukumarsrivatsva.

a c program to prrint a string without using a semicolon,
#include<stdio.h>
#include<conio.h>
void main()
{
if(printf("allahabad is a sangam city))
getch();
}

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is spaghetti programming?

878


why wipro wase

2047


How do you list files in a directory?

809


What is c language & why it is used?

777


Can the size of an array be declared at runtime?

813


What are the types of pointers?

782


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2848


What are compound statements?

847


difference between native and cross compilers

1877


Is c easy to learn?

745


What is the difference between exit() and _exit() function in c?

838


What is the concatenation operator?

831


Can we replace the struct function in tree syntax with a union?

1012


Is it better to use a macro or a function?

896


What is %d used for?

781