Is it acceptable to declare/define a variable in a c header?


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

Post New Answer

More C Interview Questions

Explain that why C is procedural?

0 Answers   Maveric, Verifone,


i want to make a program in which we use input having four digits(4321) and get output its reciprocal(1234).

1 Answers  


How are strings stored in c?

0 Answers  


What are bit fields? What is their use?

2 Answers   Adobe,


how to print "hai" in c?

13 Answers   TCS,






What is the c language function prototype?

0 Answers  


Can 'this' pointer by used in the constructor?

0 Answers  


What does %c do in c?

0 Answers  


How to print all the 26 alphabets in this order in C. AbCdEfGh..... it should print dynamically from a to z and do not print this using pgm like this print("Ab......"); Use loops or anything to print all alphabets

2 Answers   Hexaware,


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

0 Answers  


Explain how does free() know explain how much memory to release?

0 Answers  


An interactive c program to read basic salary of 15 persons. each person gets 25% of basic as HRA, 15%of basic as conveyance allowances, 10%of basic as entertainment allowances.The total salary is calculated by adding basic+HRA+CA+EA.Calculate how many out of 15 get salary above 10,000.Rs also print the salary of each employee

2 Answers  


Categories