Explain what are global variables and explain how do you declare them?


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

Post New Answer

More C Interview Questions

What is the difference between i++ and i+1 ?(in terms of memory)

3 Answers   HCL,


List the difference between a While & Do While loops?

0 Answers   Accenture,


1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=

16 Answers   CybOrg, Siemens,


what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??

5 Answers  


can we declare a function in side the structure?

2 Answers   HCL,


Why doesnt long int work?

0 Answers  


the maximum width of a c variable name can be a) 6 characters b) 8 characters c) 10 characters d) 20 characters

2 Answers  


How can you return multiple values from a function?

0 Answers  


Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.

0 Answers  


Write a program to add a given duration with time(24hrs format)

1 Answers   Protech,


Tell us two differences between new () and malloc ()?

0 Answers   Adobe,


how to write a cprogram yo get output in the form * *** ***** ******* ********* ******* ***** *** *

3 Answers  


Categories