#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
what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??
print out of string in this format; 1. "rajesh" 2. \n 3. %d
What are signals in C?
What is the benefit of using const for declaring constants?
parkside's triangle.. create a program like this.. enter the size: 6 enter the seed: 1 output: 1 23 456 7891 23456 789123 sample2: enter the size: 5 enter the seed: 3 output: 3 45 678 9123 45678 parkside should not exceed 10 while its seed should only be not more than 9..
Can include files be nested?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
Why do we use return in c?
Are the variables argc and argv are always local to main?
What is an expression?
Tell us something about keyword 'auto'.
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?