What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
No Answer is Posted For this Question
Be the First to Post Answer
Why string is used in c?
main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
5 Answers Vector, Vector Solutions,
difference between native and cross compilers
Write a C program to print 1 2 3 ... 100 without using loops?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
a=5 a=a++/++a
What are void pointers in c?
How can you find out how much memory is available?
whats the use of header file in c?
What is the difference between char a[] = "string"; and char *p = "string"; ?
14 Answers Adobe, Honeywell, TCS,
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); }
why integer range between -327680to+32767