jrs296 / advanced-c-work Goto Github PK
View Code? Open in Web Editor NEWFor Course CSE2010 - Winter Semester 21-22
For Course CSE2010 - Winter Semester 21-22
Add extra or case for capital letters as well in lines 33 and 40
(ch == 'l')
- Initial Code
(ch == 'l' || ch == 'L')
- Final Code
Likewise for lines 40 as well where ch == 'r'
For some reason, an unresolved character 'a' appears on running the code of q2.c of Lab 3.2. Debug and solve as required. Terminal Outputs given below. Q: WAP a program to reverse the given string and display the resultant string.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS D:\CompSci - Learn\C and C++\Advanced C Work> cd "d:\CompSci - Learn\C and C++\Advanced C Work\Lab Ex-3.2\" ; if ($?) { gcc q2.c -o q2 } ; if ($?) { .\q2 }
Enter string to be reversed: Hello There!
Initial String: Hello There!
Reversed String: !erehT olle a
PS D:\CompSci - Learn\C and C++\Advanced C Work\Lab Ex-3.2> cd "d:\CompSci - Learn\C and C++\Advanced C Work\Lab Ex-3.2\" ; if ($?) { gcc q2.c -o q2 } ; if ($?) { .\q2 }
Enter string to be reversed: Pineapples
Initial String: Pineapples
Reversed String: selppaeniPa
PS D:\CompSci - Learn\C and C++\Advanced C Work\Lab Ex-3.2> cd "d:\CompSci - Learn\C and C++\Advanced C Work\Lab Ex-3.2\" ; if ($?) { gcc q2.c -o q2 } ; if ($?) { .\q2 }
Enter string to be reversed: Peaky Blinders
Initial String: Peaky Blinders
Reversed String: srednilB ykaePa
PS D:\CompSci - Learn\C and C++\Advanced C Work\Lab Ex-3.2>
Global intra file variable implementation, try understanding and implementing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.