What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?


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

Post New Answer

More C Interview Questions

What is static memory allocation?

0 Answers  


c program to compute Income tax and Net Salary for its employees. The company offers tax relief of Kshs. 650 for single employees and Kshs. 1,100 for married employees. The relief will be deducted from the Gross salary, to give the taxable income. This will be computed at the following rates: [10mks] Taxable Income Rate (%) <5000 0 5000-19999 6 20000-36999 9 37000 and above 16

1 Answers  


What is the use of getchar functions?

0 Answers  


write a program fibonacci series and palindrome program in c

0 Answers   Aditi Placement Service,


print ur name 20,000 times without using inbuilt library functions like printf,scanf,gets,puts,getchar or putchar

4 Answers   IBM,


what is the difference between global variable & static variable declared out side all the function in the file.

2 Answers  


How do you determine whether to use a stream function or a low-level function?

0 Answers  


Can you explain the four storage classes in C?

0 Answers   TCS,


if the total selling price of 15 items and the total profit earned on them is input through the keyboard, write a program to find the cost price of one of the item

2 Answers  


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

0 Answers  


prog for 1st five prime numbers in 2^x - 1

0 Answers  


What is the difference between near, far and huge pointers?

0 Answers  


Categories