Why is #define used?
No Answer is Posted For this Question
Be the First to Post Answer
52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?
What is the difference between new and malloc functions?
#‎include‬<stdio.h> void main() { int i; for(i=5;0;i++) { printf("%d",i); } }
What are 3 types of structures?
what is the importance of spanning tree?
how can i print "hello".please consider inverted commas as well.i want to print on console: "hello"
What is the size of enum in bytes?
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..
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
What is static and volatile in c?
What is an auto variable in c?
What is the benefit of using an enum rather than a #define constant?