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 |
main() { printf("%d, %d", sizeof('c'), sizeof(100)); } a. 2, 2 b. 2, 100 c. 4, 100 d. 4, 4
18 Answers HCL, IBM, Infosys, LG Soft, Satyam,
why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.
Write a program using one dimensional array to assign values and then display it on the screen. Use the formula a[i]=i*10 to assign value to an element.
1 Answers Samar State University,
main() { int i=400,j=300; printf("%d..%d"); }
How can i find first 5 natural Numbers without using any loop in c language????????
#include<stdio.h> main() { const int i=4; float j; j = ++i; printf("%d %f", i,++j); }
main() { void swap(); int x=10,y=8; swap(&x,&y); printf("x=%d y=%d",x,y); } void swap(int *a, int *b) { *a ^= *b, *b ^= *a, *a ^= *b; }
Is the following code legal? struct a { int x; struct a *b; }
Write a prog to accept a given string in any order and flash error if any of the character is different. For example : If abc is the input then abc, bca, cba, cab bac are acceptable, but aac or bcd are unacceptable.
#define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }
4 Answers Google, HCL, Quick Heal, WTF,