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)
2343if 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 11980Find 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 8560main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }
22 34389#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 48332fun(int x) { if(x > 0) fun(x/2); printf("%d", x); } above function is called as: fun(10); what will it print? }
NDS,
17 22451#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 11235
what is the function of pragma directive in c?
Explain why can’t constant values be used to define an array’s initial size?
What are the benefits of c language?
Write a program to generate random numbers in c?
What is the purpose of clrscr () printf () and getch ()?
Differentiate between declaring a variable and defining a variable?
List the variables are used for writing doubly linked list program.
How do you declare a variable that will hold string values?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
Write a Program to accept different goods with the number, price and date of purchase and display them
Can a pointer be volatile in c?
What is malloc and calloc?
Explain what is the advantage of a random access file?
why wipro wase
Can you please explain the difference between exit() and _exit() function?