main()
{
char c;
int i = 456;
clrscr();
c = i;
printf("%d", c);
}
a. 456
b. -456
c. random number
d. none of the above
Answers were Sorted based on User's Feedback
write the function. if all the character in string B appear in string A, return true, otherwise return false.
#include<stdio.h> main() { FILE *ptr; char i; ptr=fopen("zzz.c","r"); while((i=fgetch(ptr))!=EOF) printf("%c",i); }
main() { 41printf("%p",main); }8
Write a C program to print look and say sequence? For example if u get the input as 1 then the sequence is 11 21 1211 111221 312211 12112221 .......(it counts the no. of 1s,2s etc which is in successive order) and this sequence is used in run-length encoding.
main() { extern i; printf("%d\n",i); { int i=20; printf("%d\n",i); } }
write a c program to Reverse a given string using string function and also without string function
What is data _null_? ,Explain with code when u need to use it in data step programming ?
void main() { int i=5; printf("%d",i++ + ++i); }
main( ) { void *vp; char ch = ‘g’, *cp = “goofy”; int j = 20; vp = &ch; printf(“%c”, *(char *)vp); vp = &j; printf(“%d”,*(int *)vp); vp = cp; printf(“%s”,(char *)vp + 3); }
Write a c program to search an element in an array using recursion
given integer number,write a program that displays the number as follows: First line :all digits second line : all except the first digit . . . . Last line : the last digit
main() { int i; i = abc(); printf("%d",i); } abc() { _AX = 1000; }