Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
2294if a person is buying coconuts of Rs10,and then sell that coconuts of Rs9,with the loss of one rupee.After that the person became a millaniore.how?
9 11688Find Error if any in below code, Justify ur answer: struct xx { int a; struct yy { char c; struct xx* p; } struct yy* q; }
NDS,
3 8419main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }
22 33673#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }
14 47748fun(int x) { if(x > 0) fun(x/2); printf("%d", x); } above function is called as: fun(10); what will it print? }
NDS,
17 21906#define DCHAR char* typedef char* TCHAR; if using these following variables will be declared like DCHAR ch1, ch2; TCHAR ch3, ch4; then what will be types of ch1, ch2, ch3 and ch4?
NDS,
6 11013
Why can arithmetic operations not be performed on void pointers?
Explain the difference between #include "..." And #include <...> In c?
Whats s or c mean?
What is 'bus error'?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What are linked lists in c?
What is the meaning of c in c language?
Explain how do you determine whether to use a stream function or a low-level function?
Why doesnt that code work?
What is strcmp in c?
What are the rules for identifiers in c?
Can a pointer point to null?
What is s or c?
What is the difference between %d and %i?
Explain what is the stack?