160. What is Wild pointer?
161. What will be output of following c program?
void main()
{
int *ptr;
printf("%u\n",ptr);
printf("%d",*ptr);
}
162. What is meaning of NULL?
163. What will be output of following c program?
#include "string.h"
void main()
{
char *str=NULL;
strcpy(str,"c-testing");
printf("%s",str);
}
164. What is Generic pointer?
165. What is the output?
#include "string.h"
void main()
{
void *ptr;
printf("%d",sizeof(ptr));
}
166. What is the output?
void main()
{
char c='A';
int i=4;
void *p;
char *q=&c;
int *r=&i;
p=q;
printf("%c",*(char *)p);
p=r;
printf("%d",*(int *)p);
}
167. What is a memory Leak?
168. What is difference between #define and const?
169. Memory representation of float data type in c.
170. What is lvalue and rvalue?
171. What is Storage class in c?
172. What is Scope of a variable in c?
0 Comments