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

Write a program which calculate sum of several number and input it into an array. Then, the sum of all the number in the array is calculated.

2 Answers  


struct node { int *a; char *b; char array[12]; }; struct node m,*n; assign the value in *a,*b,char array[12]

3 Answers  


how to introdu5ce my self in serco

0 Answers  


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

0 Answers  


Write a code of a general series where the next element is the sum of last k terms.

0 Answers   Aspiring Minds,






Why C language is a procedural language?

0 Answers   Ericsson,


Write a program to find the smallest and largest element in a given array in c language

11 Answers   Microsoft, Vembu,


write a program in c to find out the sum of digits of a number.but here is a condition that compiler sums the value from left to right....not right to left..

1 Answers  


write a program to print sum of each row of a 2D array.

4 Answers  


Should a function contain a return statement if it does not return a value?

0 Answers  


How a string is stored in c?

0 Answers  


Prove or disprove P!=NP.

5 Answers   Microsoft,


Categories