#include
main()
{
int *p, *c, i;
i = 5;
p = (int*) (malloc(sizeof(i)));
printf("
%d",*p);
*p = 10;
printf("
%d %d",i,*p);
c = (int*) calloc(2);
printf("
%d
",*c);
}
No Answer is Posted For this Question
Be the First to Post Answer
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
How can I ensure that integer arithmetic doesnt overflow?
Why does the call char scanf work?
What is scanf_s in c?
why we are using semicolon at the end of printh statment
What is && in c programming?
What is C language ?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
Explain data types & how many data types supported by c?
What is the use of sizeof () in c?
How do you override a defined macro?
how is the examination pattern?