ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
what is difference b/w extern & volatile variable??
 Question Submitted By :: Vishnu948923
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is difference b/w extern & volatile variable??
Answer
# 1
extern keyword is used to strike the global declaration.
but volatile its indirectly change the values in externally
 
Is This Answer Correct ?    2 Yes 0 No
Sathya
 
  Re: what is difference b/w extern & volatile variable??
Answer
# 2
extern variables are stored in CPU ,volatile variables are 
temporary.
 
Is This Answer Correct ?    2 Yes 0 No
Mani
 
 
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
what is the output of the following program? #include<stdio.h> void main() { float x=1.1; while(x==1.1) { printf("\n%f",x); x=x-0.1; } }  4
how many header file is in C language ?  14
what is the output of the following program? #include<stdio.h> void main() { int x=4,y=3,z; z=x-- -y; printf("\n%d %d %d",x,y,z); }  10
WAP to accept rollno,course name & marks of a student & display grade if total marks is above 200?  2
which one low Priority in c? a)=,b)++,c)==,d)+  8
What is difference between the following 2 lines…. int temp = (int)(0x00); int temp = (0x00int); Bosch3
44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?  3
main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); } what is the output? Ramco4
how the size of an integer is decided? - is it based on processor or compiler or OS? nvidia16
logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............ Infosys2
what is the output of the following code? main() { int I; I=0x10+010+10; printf("x=%x",I); } give detailed reason  3
Explain the differences between public, protected, private and internal.  1
what is differnence b/w macro & functions  1
Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.  1
Write one statement equalent to the following two statements x=sqr(a); return(x); Choose from one of the alternatives a.return(sqr(a)); b.printf("sqr(a)"); c.return(a*a*a); d.printf("%d",sqr(a)); TCS4
what type of language is C? Microsoft2
write a fuction for accepting and replacing lowercase letter to'Z' with out using inline function. Temenos4
YBJBU6  1
Give a fast way to multiply a number by 7 Microsoft8
let's take a code struct FAQ { int a; char b; float c; double d; int a[10]; }*temp; now explain me how the memory will be allocated for the structure FAQ and what address will be in the structure pointer (temp)....................  7
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com