void main()
{
int c;
c=printf("Hello world");
printf("\n%d",c);
}
Answers were Sorted based on User's Feedback
Answer / vijeselvam
Hello world
11 /*if their is single space between the words that are
printed*/
12 /*if their is double space between the words that are
printed*/
Is This Answer Correct ? | 2 Yes | 0 No |
What is the subtle error in the following code segment? void fun(int n, int arr[]) { int *p=0; int i=0; while(i++<n) p = &arr[i]; *p = 0; }
#include"math.h" void main() { printf("Hi everybody"); } if <stdio.h> will be included then this program will must compile, but as we know that when we include a header file in "" then any system defined function find its defination from all the directrives. So is this code of segment will compile? If no then why?
how many processes will gate created execution of -------- fork(); fork(); fork(); -------- Please Explain... Thanks in advance..!
How will u find whether a linked list has a loop or not?
main() { extern int i; i=20; printf("%d",i); }
#define clrscr() 100 main() { clrscr(); printf("%d\n",clrscr()); }
How we print the table of 3 using for loop in c programing?
main() { int a[10]; printf("%d",*a+1-*a+3); }
#define prod(a,b) a*b main() { int x=3,y=4; printf("%d",prod(x+2,y-1)); }
how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.
0 Answers Mbarara University of Science and Technology,
write a c program to Create a mail account by taking the username, password, confirm password, secret_question, secret_answer and phone number. Allow users to register, login and reset password(based on secret question). Display the user accounts and their details .
#define int char main() { int i=65; printf("sizeof(i)=%d",sizeof(i)); }