please tell me the logic for this C program :
INPUT (string):ABCD
OUTPUT :BCDA
CDAB
DABC
Answers were Sorted based on User's Feedback
#include<stdio.h> void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); } what is the output for this?
palindrome for strings and numbers----Can anybody do the prog?
6 Answers CTS, TCS, Vipro Lifescience Pvt,
What is "Hungarian Notation"?
What is Full Form of C and Why We use C
write a program to create a sparse matrix using dynamic memory allocation.
Explain logical errors? Compare with syntax errors.
What is the o/p of the follow pgm? #include<stdio.h> main() { char char_arr[5]=”ORACL”; char c=’E’; prinf(“%s\n”,strcat(char_arr,c)); } a:oracle b. oracl c.e d.none
Tell us bitwise shift operators?
while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?
what defference between c and c++ ?
What is a nested loop?
#include main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }