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
Recent activity by ykrishnay
0
answers
1
DBMS -- Book Confusion
which is best book for DBMS korth or navathe ? since i know that both book is great but i wanted to follow 1 particular book that is easy to understand and simple language for all topics. please suggest .
which is best book for DBMS korth or navathe ?since i know that both book is great but i wanted to follow 1 particular book that is easy to understand and simple language...
573
views
commented
Sep 7, 2022
Databases
databases
self-doubt
database-design
rdbms
+
–
1
answer
2
data structure and algorithms -- linked list -- size of a node
as we allocate the space for node in linked list using malloc() so how many bytes malloc allocate for the 1 node i.e. actual value of malloc allocates in ram like i write this code. so what is size of a node of linked ... node *)malloc(sizeof(struct node)); printf("%d",sizeof(struct node)); } what the printf prints and why ?
as we allocate the space for node in linked list using malloc() so how many bytes malloc allocate for the 1 node i.e. actual value of malloc allocates in ram like i write...
683
views
commented
Aug 8, 2022
Programming in C
data-structures
linked-list
algorithms
sorting
+
–
3
answers
3
Extern in C programming
int main() { extern int a = 20; printf("%d",a); } //why this gives error but followig code is not extern int a =20; int main() { printf("%d",a); } //why this happens that first code gives error but second is not ? //please tell i am realy confused now
int main(){extern int a = 20;printf("%d",a); }//why this gives error but followig code is not extern int a =20;int main(){printf("%d",a); } //why this happens that first ...
1.1k
views
commented
Jun 5, 2022
Programming in C
algorithms
programming-in-c
+
–
1
answer
4
C programming "extern" keyword
suppose i have 2 files //FILE1.h int var = 10; //FILE2.c #include<stdio.h> #include "FILE1.h" int main() { printf("%d",var); } so this file2.c gives output 10 so why we use extern keyword cause without ... work that is access the variable from other file is easily done without extern so what is exact use of extern keyword. thank you
suppose i have 2 files//FILE1.hint var = 10; //FILE2.c #include<stdio.h #include "FILE1.h" int main() { printf("%d",var); }so this file2.c gives output “10” so why we...
631
views
answer selected
Jun 5, 2022
Programming in C
programming-in-c
+
–
1
answer
5
Extern Variable in C
extern int var; int main(void) { var = 10; // why it is not considered as definition in prog return 0; } Why this is creating error saying (var is not defined).But as per rule -"by externing a variable we can use the variables anywhere in the program provided we know the declaration of them and the variable is defined somewhere."?
extern int var;int main(void){ var = 10; // why it is not considered as definition in prog return 0;}Why this is creating error saying (var is not defined).But as per ...
2.6k
views
commented
May 30, 2022
Programming in C
programming-in-c
extern-variable
+
–
2
answers
6
C programming - Use of extern variable
3.6k
views
commented
May 30, 2022
1
answer
7
Gate books enquiry
I am preparing for gate 2020, can someone please guide me about which books/sources should I use for solving problems in Data structure and algorithms? And should I solve the questions from the Cormen book (introduction to algorithms) for the gate preparation? Thank you!
I am preparing for gate 2020, can someone please guide me about which books/sources should I use for solving problems in Data structure and algorithms? And should I solve...
637
views
commented
May 30, 2022
GATE
gate-preparation
study-resources
+
–
1
answer
8
function
What is the difference between EXTERN keyword with function & EXTERN keword with variables ?
What is the difference between EXTERN keyword with function & EXTERN keword with variables ?
387
views
commented
May 29, 2022
Programming in C
programming-in-c
+
–
1
answer
9
Order Of Evaluation
What is the output generated by this code? main(){ int i=0; printf("%d %d %d %d %d %d %d", i++, ++i, i, i++, i, ++i, i++); } 4 4 3 2 2 2 0 4 5 5 2 5 5 0 0 2 2 2 2 4 4 Compiler Dependent
What is the output generated by this code?main(){ int i=0; printf("%d %d %d %d %d %d %d", i++, ++i, i, i++, i, ++i, i++); }4 4 3 2 2 2 04 5 5 2 5 5 00 2 2 2 2 4 4Compiler...
1.1k
views
commented
May 24, 2022
Programming in C
programming-in-c
+
–
2
answers
10
what is the ouput of this c code ?
// C/C++ program to demonstrate return value // of printf() #include <stdio.h> int main() { long int n = 123456789; printf("While printing "); printf(", the value returned by printf() is : %d", printf("%ld" ... : 9 123456789 but this prints While printing 123456789, the value returned by printf() is : 9 why this is happens ?
// C/C++ program to demonstrate return value// of printf()#include <stdio.h>int main(){ long int n = 123456789; printf("While printing "); printf(", the value re...
675
views
comment edited
May 24, 2022
Programming in C
programming-in-c
programming
input-output
+
–
1
answer
11
BEGINNER FRIENDLY BOOK FOR ALGORITHMS ?
I wanted to read ALgorithms by cormen but is it to complex to read for beginners ? or i read from other book ? please tell about the cormen is it easy to read for gate and PSU interviews ?
I wanted to read ALgorithms by cormen but is it to complex to read for beginners ? or i read from other book ?please tell about the cormen is it easy to read for gate and...
535
views
commented
May 23, 2022
Algorithms
preparation
algorithms
algorithm-design
+
–
0
answers
12
What is stream in c programming ?
What is stream in c programming ? as i read file io in c programming so thats where i read “stream” word so what stream means ? thank you
What is stream in c programming ? as i read file io in c programming so thats where i read “stream” word so what stream means ? thank you
386
views
asked
May 20, 2022
Programming in C
programming-in-c
file-system
+
–
2
answers
13
Is "operating system three easy pieces" Book is enough for gate exam?
Is "operating system three easy pieces" Book is enough for gate exam? Or I read another book especially for GATE exam Please tell I am confused
Is "operating system three easy pieces" Book is enough for gate exam? Or I read another book especially for GATE exam Please tell I am confused
766
views
commented
May 19, 2022
Operating System
operating-system
study-resources
+
–
0
answers
14
C programming - code
what is the ouput of this code ? main() { int x = 10; int y = (++x) + (--x); printf(“%d”,y); } and i am confuse about this code specifically about this expression int y = (++x) + (--x); so if this expression is wrong so what the wrong about this expression and topic related to “Precedence and associativity”
what is the ouput of this code ?main(){int x = 10;int y = (++x) + ( x);printf(“%d”,y);} and i am confuse about this code specifically about this expression int y = (+...
274
views
asked
Apr 27, 2022
Programming in C
programming-in-c
programming
+
–
1
answer
15
How to find a range of float,double,long in c programming?
How to find a range of float,double,long in c programming? just like we find the range in case of int (signed,unsigned),char (signed ,unsigned) in c programming language ? like integer unsigned range is 0 to 65535 and so on for other data types ? Thank you ahead
How to find a range of float,double,long in c programming? just like we find the range in case of int (signed,unsigned),char (signed ,unsigned) in c programming language ...
241
views
asked
Apr 23, 2022
Programming in C
algorithms
programming-in-c
programming
number-system
digital-logic
+
–
1
answer
16
GATEOVERFLOW QUESTION
what is join circle request in GO site and what is the advantage of this and what is the use of this and if i sent circle request to anyone ort accept the request from anyone what does means ?
what is join circle request in GO site and what is the advantage of this and what is the use of this and if i sent circle request to anyone ort accept the request from an...
553
views
commented
Apr 21, 2022
Others
normal
+
–
1
answer
17
kenneth h rosen chapter 1 section 1.5 PRENEX NORMAL FORM in excercise 1.5
can this topic “PRENEX NORMAL FORM(PNF) ” is necsesary for gate or just i skip this topic.
can this topic “PRENEX NORMAL FORM(PNF) ” is necsesary for gate or just i skip this topic.
301
views
commented
Apr 21, 2022
Mathematical Logic
discrete-mathematics
engineering-mathematics
propositional-logic
kenneth-rosen
mathematical-logic
+
–
0
answers
18
Kenneth Rosen Edition 7 Exercise 1.5 Question 49 (Page No. 68)
Show that $\forall x P(x) \wedge \exists x Q(x)$ is logically equivalent to $\forall x \exists y (P(x) \wedge Q(y))$ ... from propositional variables,predicates,T, and F using logical connectives and quantifiers is equivalent to a statement in prenex normal form.
Show that $\forall x P(x) \wedge \exists x Q(x)$ is logically equivalent to $\forall x \exists y (P(x) \wedge Q(y))$, where all quantifiers have the same nonempty domain....
289
views
commented
Apr 20, 2022
Mathematical Logic
kenneth-rosen
discrete-mathematics
mathematical-logic
propositional-logic
+
–
1
answer
19
Kenneth Rosen Edition 6th Exercise 1.5 Question 52 (Page No. 63)
Express the quantification $∃!xP (x)$,using universal quantifications, existential quantifications, and logical operators.?
Express the quantification $∃!xP (x)$,using universal quantifications, existential quantifications, and logical operators.?
900
views
commented
Apr 20, 2022
Mathematical Logic
discrete-mathematics
engineering-mathematics
kenneth-rosen
set-theory&algebra
propositional-logic
+
–
0
answers
20
kenneth h rosen chapter 1 section 1.5 nested quantifiers excercise 1.5 question 48
Show that ∀xP (x) ∨ ∀xQ(x) and ∀x∀y(P (x) ∨ Q(y)), where all quantifiers have the same nonempty domain, are logically equivalent. (The new variable y is used to combine the quantifications correctly.)
Show that ∀xP (x) ∨ ∀xQ(x) and ∀x∀y(P (x) ∨ Q(y)),where all quantifiers have the same nonempty domain,are logically equivalent. (The new variable y is used to...
539
views
commented
Apr 20, 2022
Mathematical Logic
discrete-mathematics
propositional-logic
engineering-mathematics
kenneth-rosen
mathematical-logic
+
–
0
answers
21
kenneth h rosen chapter 1 section section 1.5 nested quatnifiers excercise 49
49. a) Show that ∀xP (x) ∧ ∃xQ(x) is logically equivalent to ∀x∃y (P (x) ∧ Q(y)), where all quantifiers have the same nonempty domain. b) Show that ∀xP (x) ∨ ∃xQ(x) is equivalent to ∀x∃y (P (x) ∨ Q(y)), where all quantifiers have the same nonempty domain. please anybody tell how to prove this logical equivalency ?
49. a) Show that ∀xP (x) ∧ ∃xQ(x) is logically equivalentto ∀x∃y (P (x) ∧ Q(y)), where all quantifiers havethe same nonempty domain.b) Show that ∀xP (x) ∨...
376
views
asked
Apr 20, 2022
Mathematical Logic
discrete-mathematics
propositional-logic
engineering-mathematics
kenneth-rosen
mathematical-logic
+
–
0
answers
22
kenneth h rosen chapter 1 section nested quantifers excercise 1.5 question 40
Find a counterexample, if possible, to these universally quantified statements, where the domain for all variables consists of all integers. a) ∀x∃y(x = 1/y) b) ∀x∃y(y^2 − x < 100)
Find a counterexample, if possible, to these universallyquantified statements, where the domain for all variablesconsists of all integers.a) ∀x∃y(x = 1/y)b) ∀x∃y(...
340
views
asked
Apr 19, 2022
Mathematical Logic
discrete-mathematics
propositional-logic
mathematical-logic
engineering-mathematics
kenneth-rosen
+
–
0
answers
23
Kenneth Rosen Edition 6th Exercise 1.4 Question 35 (Page No. 61)
Find a common domain for the variables x, y, z, and w for which the statement $∀x∀y∀z∃w((w \neq x) ∧ (w \neq y) ∧ (w \neq z))$ is true and another common domain for these variables for which it is false.
Find a common domain for the variables x, y, z,and w for which the statement $∀x∀y∀z∃w((w \neq x) ∧ (w \neq y) ∧ (w \neq z))$ is true and another common dom...
704
views
commented
Apr 18, 2022
Mathematical Logic
discrete-mathematics
kenneth-rosen
domain
mathematical-logic
quantifiers
+
–
0
answers
24
kenneth h rosen chapter 1 section 1.5 nested quantifers question 34
Find a common domain for the variables x, y, and z for which the statement ∀x∀y((x = y) → ∀z((z = x) ∨ (z = y))) is true and another domain for which it is false.
Find a common domain for the variables x, y, and zfor which the statement ∀x∀y((x = y) → ∀z((z = x) ∨(z = y))) is true and another domain for which it is false....
264
views
asked
Apr 18, 2022
Mathematical Logic
discrete-mathematics
propositional-logic
engineering-mathematics
kenneth-rosen
+
–
0
answers
25
kenneth h rosen chapter 1 section "Nested quantifers" excercise 1.5 question 26's g
Let Q(x, y) be the statement “x + y = x − y.” If the do- main for both variables consists of all integers, what are the truth values? g) ∃y∀xQ(x, y) Basically i done all the subquestions (a,b,c,d,e,f,h,i) from this question but confused in g subquestion please give answer
Let Q(x, y) be the statement “x + y = x − y.” If the do-main for both variables consists of all integers, what arethe truth values?g) ∃y∀xQ(x, y)Basically i don...
200
views
asked
Apr 18, 2022
Mathematical Logic
discrete-mathematics
mathematical-logic
propositional-logic
engineering-mathematics
kenneth-rosen
+
–
0
answers
26
kenneth h rosen chapter 1 section 1.5 excercise 1.5 question 18 e
Express each of these system specifications using predi- cates, quantifiers, and logical connectives, if necessary. e) No one knows the password of every user on the sys- tem except for the system administrator, who knows all passwords.
Express each of these system specifications using predi-cates, quantifiers, and logical connectives, if necessary. e) No one knows the password of every user on the sys-t...
322
views
asked
Apr 16, 2022
Mathematical Logic
discrete-mathematics
mathematical-logic
propositional-logic
engineering-mathematics
kenneth-rosen
+
–
0
answers
27
kenneth h rosen chapter 1 section 1.5 nested quantifiers excercise no 17, b
Express each of these system specifications using predi- cates, quantifiers, and logical connectives, if necessary. b)There is a process that continues to run during all error conditions only if the kernel is working correctly.
Express each of these system specifications using predi-cates, quantifiers, and logical connectives, if necessary.b)There is a process that continues to run during all er...
191
views
asked
Apr 16, 2022
Mathematical Logic
discrete-mathematics
mathematical-logic
propositional-logic
engineering-mathematics
kenneth-rosen
+
–
2
answers
28
Kenneth H. Rosen
Let F(x, y) be the statement “x can fool y,” where the domain consists of all people in the world. Use quantifiers to express each of these statements. (a) There is exactly one person whom everybody can fool. (b) There is someone who can fool exactly one person besides himself or herself.
Let F(x, y) be the statement “x can fool y,” where thedomain consists of all people in the world. Use quantifiersto express each of these statements.(a) There is exac...
1.5k
views
commented
Apr 13, 2022
1
answer
29
Kenneth H. Rosen
Let L(x, y) be the statement “x loves y,” where the domain for both x and y consists of all people in the world. Use quantifiers to express each of these statements. There is exactly one person whom everybody loves. There are exactly two people whom Lynn loves.
Let L(x, y) be the statement “x loves y,” where the domain for both x and y consists of all people in the world. Use quantifiers to express each of these statements.T...
1.2k
views
comment edited
Apr 12, 2022
Mathematical Logic
mathematical-logic
kenneth-rosen
+
–
0
answers
30
Kenneth h rosen chapter 1 section 1.5 nested quantifiers
158
views
asked
Mar 25, 2022
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register