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

Answers were Sorted based on User's Feedback



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

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

More C Interview Questions

1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?

2 Answers   nvidia,


Describe dynamic data structure in c programming language?

0 Answers  


write a own function for strstr

1 Answers   LG Soft,


main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

0 Answers   Wilco,


plz answer.... write a program that reads line (using getline) e.g."345", converts each line to an integer using "atoi" and computes the average of all the numbers read. also compute the standard deviation.

1 Answers  






What is the difference between the local variable and global variable in c?

0 Answers  


Why void is used in c?

0 Answers  


what is diognisis?

1 Answers  


What are the advantage of c language?

0 Answers  


What is c++ used for today?

0 Answers  


how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?

0 Answers   Gopaljee, TCS,


What is scanf_s in c?

0 Answers  


Categories