do ne body have any idea about the salary for the we r going
to have interview.
yup .. u got it right ..i m talking abt NIC.
Answer / manojbatra071
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,r,c,a[10][10],b[10]][10],c[10][10],k;
clrscr();
printf("enter the size of array");
scanf("%d%d",&r,&c);
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
scanf("%d",a[i][j]);
}
printf("enter elements of 2nd matrix");
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
scanf("%d",&b[i][j]);
}
for(i=0;i,r;i++)
{
for(k=0;k<r;k++)
{
for(j=0;j<r;j++)
c[i][k]=c[i][k]+a[i][j]*b[j][k];
}
}
}
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the concatenation operator?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
Explain the use of fflush() function?
What is quick sort in c?
Difference between null pointer and dangling pointer?
18)struct base {int a,b; base(); int virtual function1(); } struct derv1:base{ int b,c,d; derv1() int virtual function1(); } struct derv2 : base {int a,e; } base::base() { a=2;b=3; } derv1::derv1(){ b=5; c=10;d=11;} base::function1() {return(100); } derv1::function1() { return(200); } main() base ba; derv1 d1,d2; printf("%d %d",d1.a,d1.b) o/p is a)a=2;b=3; b)a=3; b=2; c)a=5; b=10; d)none 19) for the above program answer the following q's main() base da; derv1 d1; derv2 d2; printf("%d %d %d",da.function1(),d1.function1(),d2.function1 ()); o/p is a)100,200,200; b)200,100,200; c)200,200,100; d)none 20)struct { int x; int y; }abc; you can not access x by the following 1)abc-->x; 2)abc[0]-->x; abc.x; (abc)-->x; a)1,2,3 b)2&3 c)1&2 d)1,3,4
How do you write a program which produces its own source code as its output?
write function to reverse char array ... without using second array
c program to print a name without using semicolon
What is character set?
A MobileNumber is a VIP number if it satisfy the following conditions. The operator should be Vodafone. Atleast one 0 (Zero) should be exist in mobile number. The number should not end with 8. The single digit sum of all the digits in the number should be equal to 9. For example if the number is 9876543210, the sum is 9+8+7+...+1+0 = 45. Sum of 4+5 = 9. Write a method: private boolean isVIPMobileNumber(String mobileNum, String operator) mobileNum phone number operator mobile operator as bsnl, Vodafone
explain about storage of union elements.