Hierarchy decides which operator
a) is most important
b) is used first
c) is fastest
d) operates on largest numbers
Write a program that receives as input a number omaadel-n-print, four digits.
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
write a programe returns the number of times the character appears in the string
What is memmove?
f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?
9 Answers Hughes, Tech Mahindra,
How can I handle floating-point exceptions gracefully?
What is the difference between memcpy and memmove?
what is the maximum limit of row and column of a matrix in c programming. in linux .
the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i",i); return 0; }
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
How would you write qsort?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.