Point out the error in the program
#include

int main()
{
const int x;
x=128;
printf("%d\n", x);
return 0;
}

Error: unknown data type const int
 
Error: const variable have been initialised when declared.
 
Error: stack overflow in x
 
no error
 

Answer

A Foxoyo User

Statistics

0 Level
0
Attempts
0
Accuracy
0
Bookmark
0
Tags

Quizes

Related Questions