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 |
#include<stdio.h> main() { char s[]={'a','b','c','\n','c','\0'}; char *p,*str,*str1; p=&s[3]; str=p; str1=s; printf("%d",++*p + ++*str1-32); }
How can you relate the function with the structure? Explain with an appropriate example.
Write a program that reads a dynamic array of 40 integers and displays only even integers
main() { int c=- -2; printf("c=%d",c); }
void main() { int k=ret(sizeof(float)); printf("\n here value is %d",++k); } int ret(int ret) { ret += 2.5; return(ret); }
void main () { int x = 10; printf ("x = %d, y = %d", x,--x++); } a. 10, 10 b. 10, 9 c. 10, 11 d. none of the above
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
main() { int a[10]; printf("%d",*a+1-*a+3); }
how to delete an element in an array
Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
main() { int i = 3; for (;i++=0;) printf(ā%dā,i); }
write a program to count the number the same (letter/character foreg: 's') in a given sentence.