Difference between Function to pointer and pointer to function
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
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
c program to subtract between two numbers without using '-' sign and subtract function.
How to reverse alternate words in a given line of string For Eg: my name is narasimha output : my eman is ahmisaran
Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.
Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.
Explain what are its uses in c programming?
what is the advantage of using SEMAPHORES to ORDINARY VARIABLES???
Who is invented by c?
What are data types in c language?
difference between c and c++
What is the difference between exit() and _exit()?