Is reference used in C?
Answer / bavi
No.Oly cal by value method of passing is used in C.
Also, calling by reference can be achieved thru' Pointers.
| Is This Answer Correct ? | 7 Yes | 2 No |
write an algorithm and a program to count the number of elements in a circularly singly linked list
Explain zero based addressing.
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
Go through the following code sinippet char a[20]; a="Hello Orcale Test"; will this compile?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
Is a pointer a kind of array?
program to get the remainder and quotant of given two numbers with out using % and / operators?
10 Answers College School Exams Tests, IBM,
What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c<u) printf("pass2"); else printf("Fail2");} else printf("Fail1); if(i<u) printf("pass2"); else printf("Fail2") } a)Pass1,Pass2 b)Pass1,Fail2 c)Fail1,Pass2 d)Fail1,Fail2 e)none
How will you write a code for accessing the length of an array without assigning it to another variable?
what will be the output of this program? #include<stdio.h> #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }
main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); } what is the output?
What is the use of void pointer and null pointer in c language?