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
main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }
27 Answers Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,
What is the diffences between Windows XP and Windows Visa
What are the different types of objects used in c?
how is the examination pattern?
Explain high-order and low-order bytes.
How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)
Write a program to reverse a string.
0 Answers Global Logic, iNautix, TCS, Wipro,
What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
What is difference between array and structure in c?
what is inline function?
Can we declare variables anywhere in c?
Is struct oop?