aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C Programming Advanced Concepts
  • void f(int *ip) { static int dummy = 5; ip = &dummy; ...
Multiple choice

void f(int *ip) { static int dummy = 5; ip = &dummy; printf(%u,ip); } void main() { int *ip; f(ip); printf(%u,ip); }

  1. Some values

  2. 0 Some value

  3. Error

  4. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer

Keep practicing — related questions

  • main() { static int var = 5; printf("%d ",var--); if(var) main(); }
  • What will be the output of the following function? main() { static int var = 5; printf(%d ,var--); if(var) ...
  • void main() { int a= 100; void *j= &a; int *k= j; printf("%u", *k); }
  • 3) void main() { int x=10; (x<0) ? (int a = 100) : (int a=1000); printf(“%d”,a); }
  • main() { int *p1, i=25; void *p2; p1=&i; p2=&i; p1=p2; p2=p1; printf(“%d”,i); }
  • 1)void main() { int const *p = 5; printf(“%d”,++(*p)); }
  • If the input of the following program is 10, what will be the output? void print(int); void main() { int n;...
  • #include main(){ static int a[20]; int i=0; a[i]=i++; printf("%d %d %d",a[0],a[1],i); }
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy