What is a ternary operator in c?
No Answer is Posted For this Question
Be the First to Post Answer
Explain how do you print an address?
what would be the output of the following program? main() { int k = 123; char *ptr; ptr = &k; printf("%d",*ptr); }
main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }
Explain what is a program flowchart and explain how does it help in writing a program?
What is function and its example?
What is a macro?
What is the meaning When we write "#include" what is # and what does include does there???
If the size of int data type is two bytes, what is the range of signed int data type?
What is the use of typedef in c?
What is selection sort in c?
What is the use of in c?
void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }