what is the output of the code and how?
main()
{
int *ptr,x;
x=sizeof(ptr);
printf("%d",x);
}
Answer / veluri.haritha
If a compiler is a 16 bit compiler and its memory model is
tiny or small or compact memory model then the "x" value
will be 2 bytes.
if the memory model is large or huge memory model then the
"x" value will be 4 bytes.
if a compiler is a 32 bit compiler then the also the x value
is 4 bytes
by
V.haritha,not yet joined in B.tech
| Is This Answer Correct ? | 13 Yes | 0 No |
write a program to remove occurrences the word from entered text?
1.Why do you call C is middle level language? 2.Why do you call C is userfriendly language.
How do you define a string?
What does the format %10.2 mean when included in a printf statement?
Why pointers are used in c?
How do you list files in a directory?
what is ans for this scanf(%%d",c);
What is meaning of tree
What is a function simple definition?
#include<stdio.h> main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } Tell me the output?
main() { int i=5; printf("%d%d%d%d",i++,i--,i); }
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?