What are the advantages and disadvantages of pointers?
No Answer is Posted For this Question
Be the First to Post Answer
Find if a number is power of two or not?
Rapunzel walks into the forest of forgetfullness. She meets a Lion who lies on Monday Tuesdays and Wednesdays and meets a rabbit who lies on Thurs fridays and saturdays . On that day both say that "I lied yesterday". What day is it .
Explain how to reverse singly link list.
#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20
Differentiate between calloc and malloc.
#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?
16 Answers Accel Frontline, Opera, Oracle,
How can you find the exact size of a data type in c?
Why main is used in c?
What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
what is difference between array and structure?
44 Answers College School Exams Tests, CTS, Google, HCL, IBM, Motorola, TCS,
why array index always starts from zero??