String concatenation
Answers were Sorted based on User's Feedback
Answer / shrikantauti
it appends two strings. for this strcat() is used.
| Is This Answer Correct ? | 3 Yes | 0 No |
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?
how to write palindrome program?
Why is c fast?
read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50
Can two or more operators such as and be combined in a single line of program code?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What is LINKED LIST? How can you access the last element in a linked list?
What is the difference between int main and void main?
what will be the output of "printf("%d%d",scanf("%d% d",&a,&b))".provide an explation regarding the question
What is the use of clrscr?
Write a c program to find, no of occurance of a given word in a file. The word is case sensitive.
What is the difference between constant pointer and pointer to a constant. Give examples.