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 |
void main() { int i=5; printf("%d",i++ + ++i); }
why the range of an unsigned integer is double almost than the signed integer.
what will be the position of the file marker? a: fseek(ptr,0,SEEK_SET); b: fseek(ptr,0,SEEK_CUR);
int i,j; for(i=0;i<=10;i++) { j+=5; assert(i<5); }
main() { char *p; p="Hello"; printf("%c\n",*&*p); }
Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
Printf can be implemented by using __________ list.
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.
What is wrong with the following code? int *foo() { int *s = malloc(sizeof(int)100); assert(s != NULL); return s; }
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"
int main() { int x=10; printf("x=%d, count of earlier print=%d", x,printf("x=%d, y=%d",x,--x)); getch(); } ================================================== returns error>> ld returned 1 exit status =================================================== Does it have something to do with printf() inside another printf().
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns