What should malloc() do?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

question-how to run a c programme.

6 Answers  


#include<stdio.h> { printf("Hello"); } how compile time affects when we add additional header file <conio.h>.

0 Answers  


How are variables declared in c?

0 Answers  


How can I swap two values without using a temporary?

0 Answers  


How to develop software using "c" programming?

1 Answers   IBM, TCS,






How do you generate random numbers in C?

0 Answers  


Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.

0 Answers  


What is the use of a static variable in c?

0 Answers  


what is difference between procedural language and functional language ?

4 Answers   Wipro,


What is meant by preprocessor in c?

0 Answers  


What is a class?

3 Answers  


What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }

2 Answers  


Categories