Computer Science, asked by priyanka4384, 11 months ago

Predict the output of the following code.
#include <stdio.h>
extern int var = 0;
int main()
var = 10;
printf("%d", var);
return 0;​

Answers

Answered by dipayanghosh185
4

Answer:

actually your code is wrong....

i have take screenshot and added the correct code...

Your answer is 10..

return 0..is not needed...

HOPE YOU LIKE IT...

THEN PLEASE MAKE ME BRAINIST OR FOLLOW ME...

Explanation:

Attachments:
Similar questions