Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
1292Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
TCS,
1169Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
1154
What are nested functions in c?
Explain what is a const pointer?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
What is the -> in c?
Here is a good puzzle: how do you write a program which produces its own source code as output?
Explain about the functions strcat() and strcmp()?
What is d scanf?
How can you read a directory in a C program?
Explain union.
What is array of pointers to string?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
What is a void * in c?
Explain how can you check to see whether a symbol is defined?