How many levels of indirection in pointers can you have in a single declaration?
No Answer is Posted For this Question
Be the First to Post Answer
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.
what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above
3 Answers Accenture, Infosys, Wipro,
can we declare a function inside the structure? ex: struct book { int pages; float price; int library(int,float); }b; is the above declaration correct? as it has function declaration?
main() { int i; printf("%d",i^i); }
When is an interface "good"?
what is the use of pointers
2.main { int x,j,k; j=k=6;x=2; x=j*k; printf("%d", x);
What are the rules for the identifier?
What is an lvalue in c?
What is volatile
what is the difference between unix os and linux os