Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by kd.....
0
votes
1
Ace test series
Guys, I am not getting C as the ans..Can someone help.
Guys, I am not getting C as the ans..Can someone help.
613
views
answered
Oct 29, 2019
0
votes
2
forouzan crc generator
find the status of the following generators related to two isolated, single bit errors. a.) x+1 b,) x^4+1 c) x^7+x^6+1 d) x^15+x^14+1 please explain this with examples in detail
find the status of the following generators related to two isolated, single bit errors.a.) x+1b,) x^4+1c) x^7+x^6+1d) x^15+x^14+1please explain this with examples in deta...
1.5k
views
answered
Oct 29, 2019
1
votes
3
Csma/Cd
We know that transmission time Tx=L/B where L is the frame size and B is the bandwidth. In Csma/Cd, in order to find out the min frame size L, we equate it with the bandwidth delay product and obtain the formula L=BR(R is the round trip time). R=L/B R=2Tp ... 2B) How is this possible that the Tx and R has the same formula and Tp becomes the function of L and B? Please clear me this thing .
We know that transmission time Tx=L/B where L is the frame size and B is the bandwidth.In Csma/Cd, in order to find out the min frame size L, we equate it with the bandwi...
1.8k
views
answered
Aug 25, 2019
0
votes
4
data types
what is the output of the following programming???? and am confusing is unsigned int stores signed integer, and what is ~ ' this symbol ?? and what happened when assigning ~0' to y????? and what will be printed when x,y are printing and how ? can anyone tell me ... printf("same"); else printf("not same"); printf("\n x is %u, y is %u", x, y); return 0; }
what is the output of the following programming????and am confusing is unsigned int stores signed integer, and what is ‘ ~ ’ this symbol ?? and what happened when ass...
464
views
answered
Jan 25, 2019
Programming in C
programming
+
–
0
votes
5
made easy subject test
answer is given 20,60 but my answer is 20,10 in solution they given that (&arr+1= base address of arr+ 1*6) how it possible . Is it true or wrong
answer is given 20,60but my answer is 20,10 in solution they given that (&arr+1= base address of arr+ 1*6) how it possible . Is it true or wrong
380
views
answered
Jan 23, 2019
0
votes
6
programming
what is the reason…..?for error..
what is the reason…..?for error..
327
views
answered
Jan 23, 2019
Programming in C
programming-in-c
programming
+
–
1
votes
7
modified question
Each Process Pi, i = 1....91....9 is coded as follows while(TRUE) { P(mutex) {Critical section} V(mutex) } The code for P10 is while (TRUE) { v(mutex) {Critical section} p(mutex) } . What is the largest number of processes that can be inside the critical section at any moment? 1 2 3 10
Each Process Pi, i = 1....91....9 is coded as followswhile(TRUE) { P(mutex) {Critical section} V(mutex) }The code for P10 is while (TRUE) { v(mutex) {Critical section} p(...
509
views
answered
Jan 23, 2019
0
votes
8
How this output is obtained.
Output is 7. But can someone justify, how? #include <stdio.h> int f(int a, int b) { printf("%d", a + b); return 0; } int main() { f((2, 3), 4); return 0; }
Output is 7.But can someone justify, how?#include <stdio.h int f(int a, int b) { printf("%d", a + b); return 0; } int main() { f((2, 3), 4); return 0; }
360
views
answered
Jan 20, 2019
Programming in C
programming
programming-in-c
+
–
0
votes
9
c programming Files
#include<stdio.h> int main() { FILE *fp[2]; if((fp[0]=fp[1]=fopen("test.txt","w"))!=NULL) //test.txt file should be empty during first compiling { fputs("one",fp[0]); fclose(fp[0]); fputs("two",fp[1]); ... is done after fputs("one",fp[0]); and fputs("two",fp[1]); can anyone tell me with explanation...please .
#include<stdio.h>int main(){ FILE *fp ; if((fp[0]=fp =fopen("test.txt","w"))!=NULL) //test.txt file should be empty during first compiling { fputs("one",...
472
views
answered
Jan 19, 2019
Programming in C
programming-in-c
output
programming
+
–
0
votes
10
madeeasy-programming
explain the soln...why multiplying by 4 and [-2]?
explain the soln...why multiplying by 4 and [-2]?
262
views
answered
Jan 18, 2019
1
votes
11
MadeEasy Full Length Test 2019: Engineering Mathematics - Linear Algebra
541
views
answered
Jan 17, 2019
Linear Algebra
linear-algebra
engineering-mathematics
made-easy-test-series
+
–
0
votes
12
Increment Operator Paradox
The output of this program comes out to be 0, Why not 1? Because: a=0;will be assigned then a++; So now 0 will be 1; a=1; This freaks me out !! #include <stdio.h> int main() { int a=0; a=a++; printf("%d",a); return 0; } Output: 0 ...Program finished with exit code 0
The output of this program comes out to be 0,Why not 1?Because: a=0;will be assigned then a++;So now 0 will be 1; a=1; This freaks me out !!#include <stdio.h>int main(){...
410
views
answered
Jan 13, 2019
Programming in C
programming-in-c
increment
+
–
0
votes
13
Doubt :ACE OTS
Ans : Option D But array size is 14 then how 15 is printed ? ptr size is 2 but precise answer given was 2.29 , how ?
Ans : Option D But array size is 14 then how 15 is printed ?ptr size is 2 but precise answer given was 2.29 , how ?
259
views
answered
Dec 11, 2018
4
votes
14
MadeEasy Subject Test 2019: Programming & DS - Programming In C
char *a = “MADEEASY”; char *b = “GATECSIT2019”; char *r = a; char *s = b; printf(“%d”, (int) strlen (b+3[r] – 1[s])); return 0; Whats the output? Answer given 8
char *a = “MADEEASY”;char *b = “GATECSIT2019”;char *r = a;char *s = b;printf(“%d”, (int) strlen (b+3[r] – 1[s]));return 0; Whats the output? Answer given 8
590
views
answered
Dec 11, 2018
Programming in C
made-easy-test-series
programming
programming-in-c
pointers
+
–
1
votes
15
MadeEasy Subject Test 2019: Programming & DS - Programming In C
main(){ int S[6] = {126,256,512,1024,2048,4096}; int *x=(int *) (&S+1); printf (“%d”,x); } int is 4 bytes; array starts from 2000 . The answer is 2024 I am getting 2004. Please explain the concept. If possible provide a resource.
main(){ int S[6] = {126,256,512,1024,2048,4096}; int *x=(int *) (&S+1); printf (“%d”,x); }int is 4 bytes; array starts from 2000 .The answer is 2024 I am getting 2004...
778
views
answered
Dec 11, 2018
Programming in C
made-easy-test-series
programming
programming-in-c
array
+
–
0
votes
16
MadeEasy Test Series: Programming & DS - Programming In C
Consider the following c-program: #include<stdio.h> int main() { char *arr[ ] ={"GATE", "CAT", "IES", "IAS", "PSU", "IFS" }; call(arr); return 0; } void call (char * ... represent the output of the above program?(Assume size of int,pointer is 4B). A)IES B)IAS C)CAT D)PSU
Consider the following c-program:#include<stdio.h>int main() {char *arr[ ] ={"GATE", "CAT", "IES", "IAS", "PSU", "IFS" };call(arr);return 0;}void call (char ptr) {char ...
2.5k
views
answered
Dec 6, 2018
Programming in C
programming-in-c
array
pointers
made-easy-test-series
+
–
0
votes
17
linear algebra
if A is a non-singular matrix and(I-A+A^2-...+(-1)^n A^n)=0 then A^-1=__________ 1) A^n 2)-A^(n-1) 3)(-1)^n A^n-1 4)(-1)^(n-1).A^n
if A is a non-singular matrix and(I-A+A^2-...+(-1)^n A^n)=0then A^-1=__________1) A^n2)-A^(n-1)3)(-1)^n A^n-14)(-1)^(n-1).A^n
270
views
answered
Oct 29, 2018
0
votes
18
Gilbert Strang
Differentiate y=$x^{-1/lnx}$
Differentiatey=$x^{-1/lnx}$
326
views
answered
Oct 28, 2018
Calculus
gilbert-strang
calculus
integration
engineering-mathematics
+
–
0
votes
19
Strongly connected component
How to find Strongly connected components and weakly connected components in the given graph?
How to find Strongly connected components and weakly connected components in the given graph?
3.4k
views
answered
Oct 21, 2018
Graph Theory
discrete-mathematics
graph-theory
+
–
0
votes
20
linear algebra
The eigen value of the following matrix in [ 1 1 1 1 1 1 1 1 1 ] (a) 1, 1, 1 (b) 1, 0, 0 (c) 3, 0, 0 (d) 0, 0, 0
The eigen value of the following matrix in[ 1 1 1 1 1 1 1 1 1 ](a) 1, 1, 1 (b) 1, 0, 0(c) 3, 0, 0 (d) 0, 0, 0
308
views
answered
Oct 20, 2018
0
votes
21
Why b is not decrementing ?
main() { int a = 1; int b = 1; int c = a || b--; printf("a = %d b=%d\n",a,b); return 0; }
main(){int a = 1; int b = 1; int c = a || b ; printf("a = %d b=%d\n",a,b); return 0;}
342
views
answered
May 14, 2018
Programming in C
programming-in-c
+
–
0
votes
22
UGC NET CSE | Junet 2015 | Part 2 | Question: 12
Which of the following, in C++, is inherited in a derived class from base class? constructor destructor data members virtual methods
Which of the following, in C++, is inherited in a derived class from base class?constructordestructordata membersvirtual methods
6.8k
views
answered
May 12, 2018
Object Oriented Programming
ugcnetcse-june2015-paper2
oops
inheritance
+
–
0
votes
23
Pointers
Consider the declaration below: typedef char *Str_typed; #define Str_defined char* Str_typed s1, s2; Str_defined s3, s4; Which one of the following statements is correct? I. $s1$, $s2$, $s3$ and $s4$ are character pointers II. $s1$, $s2$, $s3$ and $s4$ are characters III. $s1$, $s2$, $s3$ are character pointers while $s4$ is a character IV. None of the above
Consider the declaration below:typedef char *Str_typed; #define Str_defined char* Str_typed s1, s2; Str_defined s3, s4;Which one of the following statements is correct?I....
581
views
answered
Apr 28, 2018
Programming in C
pointers
+
–
0
votes
24
UGC NET CSE | December 2005 | Part 2 | Question: 11
What is the output of the following $C$-program main() { printf("%d %d %d",size of (3.14f), size of (3.14), size of (3.141)); } 4 4 4 4 8 10 8 4 8 8 8 8
What is the output of the following $C$-programmain() { printf("%d %d %d",size of (3.14f), size of (3.14), size of (3.141)); }4 4 44 8 108 4 88 8 8
2.2k
views
answered
Apr 28, 2018
Programming in C
ugcnetcse-dec2005-paper2
programming-in-c
data-types
+
–
0
votes
25
C Programming
#include<stdio.h> typedef int ARRAY[10][10]; int main() { ARRAY arr[2]; printf("Size is %d",sizeof(arr)); } The program on running produces output Size is $800$ I know typedef is used for providing alternate names to existing datatypes. Can someone explain what's happening? Or correct me
#include<stdio.h typedef int ARRAY[10][10]; int main() { ARRAY arr ; printf("Size is %d",sizeof(arr)); } The program on running produces output Size is $800$I know typede...
305
views
answered
Apr 28, 2018
Programming in C
programming-in-c
output
programming
+
–
0
votes
26
Integration- CE 2013
Find the value of the integral $\int_{0}^{\pi/6}cos^43\theta\ sin^36\theta\ d\theta$ Please show the steps.(upload a pic of your solution) a) 0 b) 1/15 c) 8/3 d) 1
Find the value of the integral $$\int_{0}^{\pi/6}cos^43\theta\ sin^36\theta\ d\theta$$Please show the steps.(upload a pic of your solution)a) 0b) 1/15c) 8/3d) 1
2.3k
views
answered
Apr 24, 2018
Calculus
engineering-mathematics
calculus
integration
+
–
1
votes
27
ISRO2018-60
What is the output of tho following program? main(){ int x=2, y=5; if(x<y) return (x=x+y); else printf("z1"); printf("z2"); } $z2$ $z1z2$ Compilation error None of these
What is the output of tho following program?main(){ int x=2, y=5; if(x<y) return (x=x+y); else printf("z1"); printf("z2"); }$z2$$z1z2$Compilation errorNone of these
10.0k
views
answered
Apr 23, 2018
Programming in C
isro2018
programming
output
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register