# include <stdio.h>
int one_d[]={1,2,3};
main()
{
int *ptr;
ptr=one_d;
ptr+=3;
printf("%d",*ptr);
}
Answer / susie
Answer :
garbage value
Explanation:
ptr pointer is pointing to out of the array range of
one_d.
Is This Answer Correct ? | 3 Yes | 0 No |
main() { char c=' ',x,convert(z); getc(c); if((c>='a') && (c<='z')) x=convert(c); printf("%c",x); } convert(z) { return z-32; }
Given n nodes. Find the number of different structural binary trees that can be formed using the nodes.
16 Answers Aricent, Cisco, Directi, Qualcomm,
‎#define good bad main() { int good=1; int bad=0; printf ("good is:%d",good); }
#define int char main() { int i=65; printf("sizeof(i)=%d",sizeof(i)); }
main() { int i=_l_abc(10); printf("%d\n",--i); } int _l_abc(int i) { return(i++); }
main( ) { int a[2][3][2] = {{{2,4},{7,8},{3,4}},{{2,2},{2,3},{3,4}}}; printf(ā%u %u %u %d \nā,a,*a,**a,***a); printf(ā%u %u %u %d \nā,a+1,*a+1,**a+1,***a+1); }
Is it possible to type a name in command line without ant quotes?
Write a complete program that consists of a function that can receive two numbers from a user (M and N) as a parameter. Then print all the numbers between the two numbers including the number itself. If the value of M is smaller than N, print the numbers in ascending flow. If the value of M is bigger than N, print the numbers in descending flow. may i know how the coding look like?
can u give me the c codings for converting a string into the hexa decimal form......
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
char inputString[100] = {0}; To get string input from the keyboard which one of the following is better? 1) gets(inputString) 2) fgets(inputString, sizeof(inputString), fp)
main() { printf("\nab"); printf("\bsi"); printf("\rha"); }