print a semicolon using Cprogram without using a semicolon
any where in the C code in ur program!!
Answers were Sorted based on User's Feedback
Answer / bikash mazumdar
void main()
{
while(!printf("\nHello World"))
}
| Is This Answer Correct ? | 30 Yes | 36 No |
Answer / narasimha peruru
#include<stdio.h>
void main()
{
while( printf("%c", 59), 0)
{
}
}
| Is This Answer Correct ? | 1 Yes | 7 No |
Answer / anshu ranjan
#include<stdio.h>
void main()
{int a=59;
if(printf("%c",a)){}
}
\\the previous one was wrong
| Is This Answer Correct ? | 17 Yes | 32 No |
Answer / anshu ranjan
#include<stdio.h>
void main()
{char a=';';
if(printf("%c",a)){}
}
| Is This Answer Correct ? | 15 Yes | 49 No |
You are given any character string. Find the number of sets of vowels that come in the order of aeiou in the given string. For eg., let the given string be DIPLOMATIC. The answer returned must be "The number of sets is 2" and "The sets are "IO and AI". Vowels that form a singleton set must be neglected. Try to post the program executable in gcc or g++ or in java.
#if something == 0 int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
Is it possible to type a name in command line without ant quotes?
pls anyone can help me to write a code to print the values in words for any value.Example:1034 to print as "one thousand and thirty four only"
#include<stdio.h> int main() { int a=3,post,pre; post= a++ * a++ * a++; a=3; pre= ++a * ++a * ++a; printf("post=%d pre=%d",post,pre); return 0; }
How to return multiple values from a function?
main() { char not; not=!2; printf("%d",not); }
how can i search an element in an array
2 Answers CTS, Microsoft, ViPrak,
main() { int i=0; for(;i++;printf("%d",i)) ; printf("%d",i); }
How do you create a really large matrix (i.e. 3500x3500) in C without having the program crash? I can only reach up to 2500. It must have something to do with lack of memory. Please help!
Give a one-line C expression to test whether a number is a power of 2.
main() { int i; float *pf; pf = (float *)&i; *pf = 100.00; printf("\n %d", i); } a. Runtime error. b. 100 c. Some Integer not 100 d. None of the above