C programming output checking-08 || Example of static array
What is the output of the following C program?
Find out the output of the C Program:
//Find out the output of the following C program
#include stdio.h
int main()
{
static a[10];
int i = 0;
a[i] = i;
printf("%d, %d, %d\n", a[0], a[1], i);
return 0;
}
//Output:i) 0, 0, 0
// ii) 0, Garbage, 0
#OutputChecking
#StaticArray
#AlamgirHossain
--------------Contact-------------
Md. Alamgir Hossain
Senior Lecturer, Dept. of Computer Science & Engineering(CSE),
Prime University.
MSc in ICT, BUET
BSc in CSE, JUST
Mail: alamgir.cse14.just@gmail.com
Subscribe to this youtube channel: / alamgirhossaincse
Connect with me on Facebook: / ah.cse.dme
On this page of the site you can watch the video online C programming output checking-08 || Example of static array with a duration of hours minute second in good quality, which was uploaded by the user Alamgir Hossain 04 March 2022, share the link with friends and acquaintances, this video has already been watched 241 times on youtube and it was liked by 19 viewers. Enjoy your viewing!