Answer Posted / aravind
Extern is nothing but a memory storage type.If we declare extern before the function than the variable can be accessed by that function not only locally but externally too.
extern int a=4
Int fun (int x)
{
x=a;
print gives a=4
| Is This Answer Correct ? | 8 Yes | 19 No |
Post New Answer View All Answers
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
Write a program to swap two numbers without using third variable in c?
What is string concatenation in c?
What are pointers? Why are they used?
Is python a c language?
Can we declare variables anywhere in c?
Why doesn't C support function overloading?
Which is better pointer or array?
What is hash table in c?
What is the advantage of c?
Can a pointer point to null?
How can I call fortran?