Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Error in level 2 lesson 4

#include <stdio.h>
#include<limits.h>

int main() {

printf("Here is the largest int value - %d",INT_MAX);
return 0;

But getting this below given error
Have you used the correct value for maximum integer value?
by

2 Answers

sam5epi0l
As asked in the instructions, the code should be like this:

#include <stdio.h>

int main() {

printf("Here is the largest int value - %d", 2147483647);
return 0;

}
velmurugan0jax0
Thanks for your support

Login / Signup to Answer the Question.