#ifdef TRUE
int I=0;
#endif
main()
{
int j=0;
printf("%d %d\n",i,j);
}
Answers were Sorted based on User's Feedback
Answer / jai
Compilation error since 1) TRUE definition is not visible
in above program, 2) i variable is not declared.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / rohit
Compilation error due to 'i' is not declared only.
Not cause by visibility of TRUE macro.
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain high-order bytes.
Function shall sum members of given one-dimensional array. However, it should sum only members whose number of ones in the binary representation is higher than defined threshold (e.g. if the threshold is 4, number 255 will be counted and 15 will not) - The array length is arbitrary - output the results to the stdout
What are categories used for in c?
how logic is used
Explain a pre-processor and its advantages.
What are the different types of storage classes in C?
What is the purpose of sprintf() function?
How are portions of a program disabled in demo versions?
application of static variables in real time
what is the use of keyword volatile??
main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }
2 Answers Vector, Vector India,
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array