Answer Posted / ragu
#include<stdio.h>
void main(void)
{
int a;
clrscr();
printf("enter a number ");
scanf("%d",&a);
printf("you enter the number %d",a);
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
Can you subtract pointers from each other? Why would you?
Can you write the function prototype, definition and mention the other requirements.
Explain what are the advantages and disadvantages of a heap?
How arrays can be passed to a user defined function
int i=10; printf("%d %d %d", i, i=20, i);
What are keywords c?
what is the role you expect in software industry?
Explain Function Pointer?
explain what is an endless loop?
What is use of bit field?
Write a program with dynamically allocation of variable.
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
Explain built-in function?
What is the size of structure pointer in c?