What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?
2 9372Is the C language is the portable language...If yes...Then Why...and if not then what is problem so it is not a Portable language..???
TCS,
2 13986what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }
4 7504You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.
2 7083
How can this be legal c?
Why does this code crash?
What is the purpose of realloc()?
How do you declare a variable that will hold string values?
Explain the use of function toupper() with and example code?
What are volatile variables in c?
what does static variable mean?
How can you return multiple values from a function?
write a program in c language to print your bio-data on the screen by using functions.
What are the restrictions of a modulus operator?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
Write a program to reverse a given number in c language?
What is the ANSI C Standard?
Explain can static variables be declared in a header file?
How can a program be made to print the name of a source file where an error occurs?