#include<stdio.h>  int main(){  int a=5;  static int b=a;  printf("%d %d",a,b);  return 0;  } | Sololearn: Learn to code for FREE!

-1

#include<stdio.h>  int main(){  int a=5;  static int b=a;  printf("%d %d",a,b);  return 0;  }

it's in C language it's showing compilation error why?

c

12/25/2016 7:49:26 AM

Arpitha G R

6 Answers

New Answer

0

0

but why should it's how compilation error?

0

0

https://code.sololearn.com/WX7oZuZ23uJh/?ref=app

0

you should write prinf("%d %d", &a, &b);

-1