can we print any string in c language without using
semicolon(;)(terminator) in whole program.
Answers were Sorted based on User's Feedback
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 |
Write the test cases for checking a variable having value in range -10.0 to +10.0?
write a recursive program in'c'to find whether a given five digit number is a palindrome or not
Give the logic for this #include<stdio.h> #include<conio.h> void main() { clrscr(); int a=10,b; b=++a + ++a; printf("%d", b); getch(); } Output: 24......How?
Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.
what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }
How many types of operator or there in c?
pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?
2 Answers eClerx, Excel, kenexa,
Explain what is wrong with this program statement?
What is the output for the program given below typedef enum grade{GOOD,BAD,WORST,}BAD; main() { BAD g1; g1=1; printf("%d",g1); }
write a program to find the given number is prime or not
2 Answers Accenture, Vasutech,
What is dangling pointer in c?
C language questions for civil engineering