main()
{
char c=' ',x,convert(z);
getc(c);
if((c>='a') && (c<='z'))
x=convert(c);
printf("%c",x);
}
convert(z)
{
return z-32;
}
Answer / susie
Answer :
Compiler error
Explanation:
declaration of convert and format of getc() are wrong.
| Is This Answer Correct ? | 9 Yes | 1 No |
How to read a directory in a C program?
String reverse with time complexity of n/2 with out using temporary variable.
main() { int i = 257; int *iPtr = &i; printf("%d %d", *((char*)iPtr), *((char*)iPtr+1) ); }
void main() { static int i; while(i<=10) (i>2)?i++:i--; printf(ā%dā, i); }
main() { char string[]="Hello World"; display(string); } void display(char *string) { printf("%s",string); }
#include<stdio.h> main() { struct xx { int x; struct yy { char s; struct xx *p; }; struct yy *q; }; }
Write a program that find and print how many odd numbers in a binary tree
Is there any difference between the two declarations, 1. int foo(int *arr[]) and 2. int foo(int *arr[2])
main() { int i=5,j=6,z; printf("%d",i+++j); }
int i=10; main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); }
main() { clrscr(); } clrscr();
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange