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 s9k96
0
votes
0
answers
1
General Topic Doubt Programming & DS: Programming
How Format specifiers in C works? If the Code is : #include <stdio.h> int main(void) { // your code goes here char *s= "First Name"; int x= 12345; printf("%-15s%c\n", "First Name", ':' ... due to the 10 its length should be 10 minimum so should get more spaces. code is here also :https://ideone.com/Mo5jwf
How Format specifiers in C works?If the Code is :#include <stdio.h int main(void) { // your code goes here char *s= "First Name"; int x= 12345; printf("%-15s%c\n", "First...
416
views
asked
Jun 27, 2018
Programming in C
data-structures
programming-in-c
general-topic-doubt
+
–
0
votes
0
answers
2
Admission Procedure
What are the minimum eligibility criteria for Mtech in IIT's. and what does this mean ?: For all B.Techs. from IITs graduating with a CGPA of 8.0 or above, the requirement of qualification through GATE is waived off. and Do IIT's also offer MS program and what is the difference between Mtech and MS in India. ?
What are the minimum eligibility criteria for Mtech in IIT's. and what does this mean ?:For all B.Techs. from IITs graduating with a CGPA of 8.0 or above, the requiremen...
362
views
asked
May 17, 2017
0
votes
1
answer
3
GATE doubt.
Explain The output of the following code : #include <iostream> using namespace std; int main() { // your code goes here char c[]= "GATE2017"; char *p=c; cout<<p+p[3]-p[1]<<endl; // ?? cout<<p[3]<<endl; // OK ... it is pointing to the first element of the array (G) so how it all combined to print a string as a whole instead of a character. ?
Explain The output of the following code : #include <iostream using namespace std; int main() { // your code goes here char c[]= "GATE2017"; char *p=c; cout<<p+p[3]-p <<e...
566
views
asked
May 6, 2017
Programming in C
data-structures
programming-in-c
+
–
0
votes
1
answer
4
Designing DFA's
Design a DFA which accepts all strings over { a, b } that doesn't contain string aabb in it.
Design a DFA which accepts all strings over { a, b } that doesn't contain string aabb in it.
5.3k
views
asked
Mar 30, 2017
Theory of Computation
finite-automata
theory-of-computation
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register