Explain the difference between the local variable and global variable in c?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what is the role you expect in software industry?

0 Answers   HCL,


Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);

5 Answers  


how to make program without <> in libray.

0 Answers  


15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?

1 Answers  


What is a program flowchart and how does it help in writing a program?

0 Answers  






#include<stdio.h> #include<conio.h> void main() { char ch='\356'; printf("%d",ch); } o/p=-18 why?plz.explain

2 Answers  


What is the role of this pointer?

0 Answers  


Software Interview Questions

1 Answers   CAT,


can we write a program in c for printf and scanf without using header file stdio.h

1 Answers  


Which weighs more, a gram of feathers or a gram of gold?

2 Answers  


Which of the following about the C comments is incorrect ? a.commentscan go over multiple lines b.comments can start any where in the line c.a line can contain comments with out any language statements d.comments can occur within comments

6 Answers   TCS,


How can a string be converted to a number?

0 Answers  


Categories