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
Questions by joshi_nitish
2
votes
1
answer
1
Random_Doubt
if it is given -> "Every satisfiable propositional formula is not tautology" then what will it corresponds to? i am writing its hindi, which among below two are correct? "har ek satisfiable formula tautology nahi hota hai" // it is indeed truth. "koi bhi satisfiable formula hua, to wo tautology nahii hoga" // this is false.
if it is given - "Every satisfiable propositional formula is not tautology"then what will it corresponds to?i am writing its hindi, which among below two are correct?"har...
483
views
asked
Jan 24, 2018
Mathematical Logic
discrete-mathematics
propositional-logic
+
–
2
votes
0
answers
2
doubt
#include <stdio.h> int main(void) { static int a[10]; int x=0; a[x]=++x; printf("%d %d %d",a[0],a[1],a[2]); return 0; } my doubt here is [ ] has high precedence over ++ which in turn has precedence over =, so i think it a[x] = ++x; is evaluated in 3 ... > a* phase2: ++x -> x=1 phase3: a*=1 or a[0]=1 so finally answer should be 1 0 0, but it is giving 0 1 0 as output.
#include <stdio.h int main(void) { static int a[10]; int x=0; a[x]=++x; printf("%d %d %d",a[0],a ,a ); return 0; }my doubt here is [ ] has high precedence over ++ which i...
429
views
asked
Dec 3, 2017
Programming in C
programming-in-c
+
–
5
votes
1
answer
3
Doubt
#include <stdio.h> #define A -B #define B -C #define C 5 int main(void) { printf("%d",A); return 0; } now my doubt here is, before compilaion i think macro will make printf part as, printf("%d",--5); which should give L-value ... ("%d",-(-5)); leading to no compiler error and giving answer as 5, but macro implicitly never put precedence braces() itself...
#include <stdio.h #define A -B #define B -C #define C 5 int main(void) { printf("%d",A); return 0; }now my doubt here is, before compilaion i think macro will make printf...
967
views
asked
Nov 5, 2017
Programming in C
macros
+
–
3
votes
1
answer
4
IPv6 header
No. of bits to represent (traffic class, flow label) in IPv6 header ?? in fourozan it is given as (4, 24) whereas in peterson and tennenbaum it is given as (8, 20)
No. of bits to represent (traffic class, flow label) in IPv6 header ??in fourozan it is given as (4, 24) whereas in peterson and tennenbaum it is given as (8, 20)
663
views
asked
Oct 5, 2017
Computer Networks
ipv6
+
–
2
votes
0
answers
5
self doubt
if A is regular, L= HALF(A)= { x | for some y, |x|= |y| and xy ϵ A} is regular i want to ask if i know DFA for A, how to construct DFA for L ??
if A is regular,L= HALF(A)= { x | for some y, |x|= |y| and xy ϵ A} is regular i want to ask if i know DFA for A, how to construct DFA for L ??
471
views
asked
Aug 1, 2017
Theory of Computation
theory-of-computation
+
–
0
votes
1
answer
6
switch-case
BREAK can be used in switch-case but CONTINUE is not allowed in switch-case but CONTINUE is allowed in DEFAULT case of switch-case..is it correct??
BREAK can be used in switch-case but CONTINUE is not allowed in switch-case but CONTINUE is allowed in DEFAULT case of switch-case..is it correct??
583
views
asked
Jun 28, 2017
Programming and DS
switch-case
+
–
0
votes
0
answers
7
ace practice booklet
634
views
asked
Jun 20, 2017
Databases
tuple-relational-calculus
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register