Explain what is the benefit of using an enum rather than a #define constant?
No Answer is Posted For this Question
Be the First to Post Answer
What is the benefit of using #define to declare a constant?
how to print "hai" in c?
What does #pragma once mean?
How do I use strcmp?
Write a program to find minimum between three no.s whithout using comparison operator.
int i=~0; uint j=(uint)i; j++; printf(“%d”,j);
What are the types of macro formats?
What are the features of c language?
Give the rules for variable declaration?
write an algorithm to display a square matrix.
12. Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
How can I use a preprocessorif expression to ?