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)
2258if 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 11432Find 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 8308main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }
22 33027#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 47362fun(int x) { if(x > 0) fun(x/2); printf("%d", x); } above function is called as: fun(10); what will it print? }
NDS,
17 21481#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 10842
Hi can anyone tell what is a start up code?
What are the types of type qualifiers in c?
Is c compiled or interpreted?
I need testPalindrome and removeSpace
#include
Explain how can I right-justify a string?
When would you use a pointer to a function?
write a program to print largest number of each row of a 2D array
What is NULL pointer?
Which is better malloc or calloc?
What is pass by reference in functions?
What does the error message "DGROUP exceeds 64K" mean?
How can I delete a file?
How can I read data from data files with particular formats?
What are variables and it what way is it different from constants?
Can you tell me how to check whether a linked list is circular?