0
Error
#include <stdio.h> int main() { int a, b, c; float salary = 56.23; char letter = 'Z'; a = 8; b = 34; int c = a+b; printf("%d \n", c); printf("%f \n", salary); printf("%c \n", letter); return 0; } where is error???
4 Antworten
0
The error says redeclaration of c,why did you declared int c two times ?
0
The error is in the declaration of "c" variable twice .
0
after declaring c in once... it comes error in main function...
0
You have declared variable 'c' two times.
1) int a,b,c;
2) int c= a+b;
That's why you are getting the ERROR.