Explain how do you convert strings to numbers in c?
What is infinite loop?
What is #include stdlib h?
Explain what are compound statements?
What does != Mean in c?
main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }
22 Answers NDS, TCS,
What do you mean by a sequential access file?
True or false: If you continuously increment a variable, it will become negative? 1) True 2) False 3) It depends on the variable type
What will be the result of the following program? char*g() { static char x[1024]; return x; } main() { char*g1="First String"; strcpy(g(),g1); g1=g(); strcpy(g1,"Second String"); printf("Answer is:%s", g()); } (A) Answer is: First String (B) Answer is: Second String (C) Run time Error/Core Dump (D) None of these
Why void is used in c?
CAN WE DEFINE ANY FUNCTION WITHIN A FUNCTION.
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer