Explain what are global variables and explain how do you declare them?
No Answer is Posted For this Question
Be the First to Post Answer
1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1
write a C code to reverse a string using a recursive function, without swapping or using an extra memory.
9 Answers Motorola, TCS, Wipro,
What is pass by reference in functions?
What is array of pointers to string?
Who invented bcpl language?
What is variable in c example?
What is the difference between variable declaration and variable definition in c?
What is the use of bit field?
Write a C program to find the smallest of three integers, without using any of the comparision operators.
what is the difference between #include<> and #include”…”?
#define MAX 3 main() { printf("MAX = %d \n",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif
What are the scope of static variables?