15.what is the disadvantage of using macros?
16.what is the self-referential structure?
17.can a union be self-referenced?
18.What is a pointer?
19.What is the Lvalue and Rvalue?
20.what is the difference between these initializations?
21.Char a[]=”string”;
22.Char *p=”literal”;
23.Does *p++ increment p, or what it points to?
Answer Posted / aravindakrishnan
for q 22 and 23;
*p++;
in post increment untill semicolon is encountered,
p points to 'l' only in the next line only
p points to 'i';
puts(*p++) gives the answer literal only
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the two types of structure?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What is %s and %d in c?
How can you access memory located at a certain address?
What does int main () mean?
Explain what is the benefit of using enum to declare a constant?
What does a function declared as pascal do differently?
What is data structure in c programming?
write a program to rearrange the array such way that all even elements should come first and next come odd
Explain what are the standard predefined macros?
What are Macros? What are its advantages and disadvantages?
What is a volatile keyword in c?
ATM machine and railway reservation class/object diagram
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
What is mean by data types in c?