what is the self-referential structure?
Answer / sarika
A structure which contains a pointer to itself is called a
self-referential structure..
| Is This Answer Correct ? | 17 Yes | 2 No |
Which command is more efficient? *(ptr+1) or ptr[1]
#include<stdio.h> void main() { int a,b,c; a=b=c=1; c=++a || ++b && ++c; printf("%d\t%d\t%d",a,b,c); }
which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
What is the difference between class and object in c?
write a program that print itself even if the source file is deleted?
how can i include my own .h file EX:- alex.h like #include<alex.h>, rather than #include"alex.h"
consider the following structure: struct num nam{ int no; char name[25]; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value
write an algorithm and c program to add two 2x2 matrics
What is volatile variable in c with example?
Why should I use standard library functions instead of writing my own?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)