writte a c-programm to display smill paces
Answers were Sorted based on User's Feedback
Answer / anand_cool
#include<stdio.h>
void main()
{
int n=1;
for(;;)
{
printf("%c",n);
}
}
Is This Answer Correct ? | 7 Yes | 1 No |
#incude<stdio.h>
void main()
{
int ricky_dobriyal=1;
while(1)
{
printf("%c",ricky_dobriyal);
}
}
Is This Answer Correct ? | 2 Yes | 1 No |
main() { int x=5; clrscr(); for(;x==0;x--) { printf("x=%d\n”", x--); } } a. 4, 3, 2, 1, 0 b. 1, 2, 3, 4, 5 c. 0, 1, 2, 3, 4 d. none of the above
Write a routine that prints out a 2-D array in spiral order
main() { extern out; printf("%d", out); } int out=100;
How we print the table of 3 using for loop in c programing?
main() { int i=10,j=20; j = i, j?(i,j)?i:j:j; printf("%d %d",i,j); }
main( ) { static int a[ ] = {0,1,2,3,4}; int *p[ ] = {a,a+1,a+2,a+3,a+4}; int **ptr = p; ptr++; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); *ptr++; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); *++ptr; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); ++*ptr; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); }
respected sir, i did my MCA in 2013 when i am going to attend to an interview i was asked about my project how will i explain my project could please help me in this and my project title is "Social Networking Site For Social Responsibility"
#include <stdio.h> main() { char * str = "hello"; char * ptr = str; char least = 127; while (*ptr++) least = (*ptr<least ) ?*ptr :least; printf("%d",least); }
main() { if (!(1&&0)) { printf("OK I am done."); } else { printf("OK I am gone."); } } a. OK I am done b. OK I am gone c. compile error d. none of the above
int i,j; for(i=0;i<=10;i++) { j+=5; assert(i<5); }
main(){ unsigned int i; for(i=1;i>-2;i--) printf("c aptitude"); }
void main() { int x,y=2,z; z=(z*=2)+(x=y=z); printf("%d",z); }