What are the similarities between c and c++?
No Answer is Posted For this Question
Be the First to Post Answer
f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?
9 Answers Hughes, Tech Mahindra,
Write a program to print factorial of given number without using recursion?
Explain why C language is procedural?
Explain how does flowchart help in writing a program?
Write a C program where input is: "My name is xyz". output is: "xyz is name My".
Diff between for loop and while loop?
can we declare a function inside the structure? ex: struct book { int pages; float price; int library(int,float); }b; is the above declaration correct? as it has function declaration?
find a number whether it is even or odd without using any control structures and relational operators?
22 Answers Microsoft, Shashank Private Limited,
What is difference between main and void main?
What is malloc and calloc?
Explain void pointer?
What is void c?