11. 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
Answer Posted / priya
Answer is d
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
Is it better to use malloc() or calloc()?
how to execute a program using if else condition and the output should enter number and the number is odd only...
What are the types of pointers in c?
What Is The Difference Between Null And Void Pointer?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
How can I dynamically allocate arrays?
How can a number be converted to a string?
what is event driven software and what is procedural driven software?
What is wrong with this initialization?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
Write a code to generate a series where the next element is the sum of last k terms.
What is the size of structure in c?
What is the code for 3 questions and answer check in VisualBasic.Net?
Differentiate between the expression “++a” and “a++”?