1.what are local and global variables?
2.what is the scope of static variables?
3.what is the difference between static and global variables?
4.what are volatile variables?
5.what is the use of 'auto' keyword?
6.how do we make a global variable accessible across files?
Explain the extern keyword?
7.what is a function prototype?
8.what does keyword 'extern' mean in a function declaration?
Answer Posted / rajan
Explain the out put
#include<stdio.h>
extern int i;
main()
{
printf("%d",i);
}
#include<stdio.h>
extern int i;
main()
{
printf("%d",i);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which function in C can be used to append a string to another string?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
Why static is used in c?
Write a program to reverse a string.
Can you apply link and association interchangeably?
How reliable are floating-point comparisons?
Why can arithmetic operations not be performed on void pointers?
What is anagram in c?
What is nested structure in c?
Why & is used in c?
What is the difference between struct and union in C?
Explain what are multidimensional arrays?
How do you list a file’s date and time?
how to find binary of number?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.