What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?
2 7844Is 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 12388what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }
4 4858You 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 5831
How can you tell whether two strings are the same?
Explain what happens if you free a pointer twice?
What will be the outcome of the following conditional statement if the value of variable s is 10?
What is the difference between c and python?
Explain pointers in c programming?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
What is a void * in c?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
develop algorithms to add polynomials (i) in one variable
please give me some tips for the placement in the TCS.
What are the ways to a null pointer can use in c programming language?
What's the total generic pointer type?
What is array of structure in c programming?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
What is the best way to store flag values in a program?