Question
main(int argc, char **argv){
printf("enter the character");
getchar();
sum(argv[1],argv[2]);
}
sum(num1,num2)int num1,num2;{
return num1+num2;
}

Answers

Answer:
Compiler error.
Explanation:
argv[1] & argv[2] are strings. They are passed to the function sum without converting it to integer values.   Your Comment






Search
Can you Answer!!
  • Q What are the features of WSP?
  • Q Tell me about an ongoing responsibility in your current most recent job that you enjoyed.
  • Q Concerning the number of hosts how are parasites classified?
  • Q An example of a renewable resource would be-
  • Q What are 3 functions of a macrophage?
  • Q Where are the tropical cyclones-Hurricanes and Typhoons-develop and mature?
  • Q How to delete duplicate records based on single column from a table?
  • Q Difference between editor access and author access?
  • Q What is diplopia
  • Q What is basicdynaclass?
  • Q What is the McGinn-White sign?