main()
{
char ch='356';
Printf("%d",ch);
}
*OUTPUT*:-
-18
*Why?*
Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; }
int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?
How do you determine a file’s attributes?
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is pointer and structure in c?
What is string constants?
what would be the output of the following program? main() { int k = 123; char *ptr; ptr = &k; printf("%d",*ptr); }
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Why is c faster?
Why is %d used in c?
what is the hexidecimal number of 4100?