21. #define square(x) x*x
main()
{
int i;
i = 64/square(4);
printf("%d",i);
}
Answers were Sorted based on User's Feedback
Answer / ashok kumar
i=64/4*4;
i=16*4;
i=64
The final result is : 64
| Is This Answer Correct ? | 18 Yes | 2 No |
What is file in c language?
What is #include conio h?
i want to make a program in which we use input having four digits(4321) and get output its reciprocal(1234).
Why do we need arrays in c?
identify the in correct expression a.a=b=3=4; b.a=b=c=d=0; float a=int b=3.5; d.int a; float b; a=b=3.5;
Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4
Finding first/last occurrence of a character in a string without using strchr( ) /strrchr( ) function.
Why use int main instead of void main?
1 1 12 21 123 321 12344231 how i creat it with for loop??
write program on arrays
Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.
What is character set?