What is false about the following
A compound statement is
a.A set of simple statments
b.Demarcated on either side by curly brackets
c.Can be used in place of simple statement
d.A C function is not a compound statement.
Answers were Sorted based on User's Feedback
Answer / phani kumar s
B
A compound statement is set of statements which is embedded
in the curly brace and will perform the necessary task.
| Is This Answer Correct ? | 66 Yes | 6 No |
Answer / bhavitha
A C function is not a compound statement.
so D.
| Is This Answer Correct ? | 15 Yes | 1 No |
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
What are the primitive data types in c?
Given a number N, product(N) is the product of the digits of N. We can then form a sequence N, product(N), product(product(N))… For example, using 99, we get the sequence 99, 99 = 81, 81 = 8. Input Format: A single integer N Output Format: A single integer which is the number of steps after which a single digit number occurs in the sequence. Sample Test Cases: Input #00: 99 Output #00: 2 Explanation: Step - 1 : 9 * 9 = 81 Step - 2 : 8 * 1 = 8 There are 2 steps to get to this single digit number. Input #01: 1137638147
what is difference between procedural language and functional language ?
write a program to remove duplicate from an ordered char array? in c
how many key words availabel in c a) 28 b) 31 c) 32
How to write the code of the program to swap two numbers with in one statement?
Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage
du u know test pattern for robosoft? Plz share
1 Answers RoboSoft, TATA, Wipro,
Explain a pre-processor and its advantages.
Explain following declaration int *P(void); and int (*p)(char *a);
What is the difference between calloc() and realloc()?