What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
No Answer is Posted For this Question
Be the First to Post Answer
What is scope and lifetime of a variable in c?
main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }
2 Answers Vector, Vector India,
Explain how are portions of a program disabled in demo versions?
1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1
All technical questions
Is it cc or c in a letter?
What is meant by gets in c?
Which type of language is c?
What is the difference between fork() and vfork()?
Explain enumerated types.
number of times a digit is present in a number
What do header files do?