Coding Guru

Coding Guru Lets learn coding together!! Happy Coding :-) Post your questions and coding tricks you know,
lets try to solve puzzle of coding.

http://l.facebook.com/l.php?u=http%3A%2F%2Fwww.inkyourcode.com%2Fwhats-new-in-abap-7-40%2F&h=ATPLsfaBPgMaOxf0bfsmjUVMWZE...
16/11/2017

http://l.facebook.com/l.php?u=http%3A%2F%2Fwww.inkyourcode.com%2Fwhats-new-in-abap-7-40%2F&h=ATPLsfaBPgMaOxf0bfsmjUVMWZE1A5IaMs_WqnPRWYys47mw4TCumDj4aL6UXvnEySQ8yIZxFmpLRPidCPSpeMrRkkZqV5owYWVJrpSDpEryXpXq

What’s New In ABAP Series Introduction. Oh! you are here. Welcome to new series ‘What’s New In ABAP’ a place where we talk about all new features added in ABAP 7.40 + & ABAP 7.50 +. I know it is bit late to come up with this series, but as Nicholas Sparks said “It is never too late to do the right t...

05/02/2017

JAVA #1:-JDK/JRE/JVM are System Dependent ,Hence JAVA is System Independent.

Memory layout of a C program, for the guys who are unaware :-)http://www.geeksforgeeks.org/memory-layout-of-c-program/
26/11/2015

Memory layout of a C program, for the guys who are unaware :-)

http://www.geeksforgeeks.org/memory-layout-of-c-program/

A typical memory representation of C program consists of following sections. 1. Text segment 2. Initialized data segment 3. Uninitialized data segment 4. Stack 5. Heap A typical memory layout of a running process 1. Text Segment: A text segment , also known as a code segment or simply as text, is on…

Trending technology https://www.docker.com/
29/11/2014

Trending technology https://www.docker.com/

Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud.

02/05/2014

Know the measures of memory:

8 Bits = 1 Byte
1024 Bytes = 1 Kilobyte
1024 Kilobytes = 1 Megabyte
1024 Megabytes = 1 Gigabyte
1024 Gigabytes = 1 Terabyte
1024 Terabytes = 1 Petabyte
1024 Petabytes = 1 Exabyte
1024 Exabytes = 1 Zettabyte
1024 Zettabytes = 1 Yottabyte
1024Yottabytes = 1 Brontobyte
1024 Brontobytes = 1 Geopbyte
1024 Geopbyte = 1 Saganbyte
1024 Saganbyte = 1 Pijabyte
1024 Pijabyte = 1 Alphabyte
1024 Alphabyte = 1 Kryatbyte
1024 Kryatbyte = 1 Amosbyte
1024 Amosbyte = 1 Pectrolbyte
1024 Pectrolbyte = 1 Bolgerbyte
1024 Bolgerbyte = 1 Sambobyte
1024 Sambobyte = 1 Quesabyte
1024 Quesabyte = 1 Kinsabyte
1024 Kinsabyte = 1 Rutherbyte
1024 Rutherbyte = 1 Dubnibyte
1024 Dubnibyte = 1 Seaborgbyte
1024 Seaborgbyte = 1 Bohrbyte
1024 Bohrbyte = 1 Hassiubyte
1024 Hassiubyte = 1 Meitnerbyte
1024 Meitnerbyte = 1 Darmstadbyte
1024 Darmstadbyte = 1 Roentbyte
1024 Roentbyte = 1 Coperbyte..

18/01/2014

Thank you all : our page reached 200 likes


int main()
{
int likes;
for(likes=0;likes

31/12/2013
A nice presentation on some of the concepts of C and C++http://www.slideshare.net/olvemaudal/deep-c
27/12/2013

A nice presentation on some of the concepts of C and C++

http://www.slideshare.net/olvemaudal/deep-c

Programming is hard. Programming correct C and C++ is particularly hard. Indeed, both in C and certainly in C++, it is uncommon to see a screenful containing on

Merry Christmas!! :)
25/12/2013

Merry Christmas!! :)

23/12/2013

Here is the program which solves a game, whose problem statement/rule is as follows :
There are bunch of kids(n) who are standing in a circle and reciting a rhyme(having m words).
* Each kid recites only a single word from the rhyme and
the next kid recites the next word.
* The kid who recites the last word has to leave the circle
and then the next kid starts the rhyme again from
beginning until another kid leaves the circle. Likewise,
They continue till only 1 kid remain(the winner).
Example:
* Number of kids =6
* Rhyme =""Twinkle twinkle little star"-(4 words)
So inputs are 6 and 4
Output:
Round 1-1,2,3,4,5,6(kid 4 has to leave the circle;kid 5 will start the rhyme)
Round 2-1,2,3,5,6(kid 2 has to leave the circle;kid 3 will start the rhyme)
Round 3-1,3,5,6(kid 1 has to leave the circle;kid 3 will start the rhyme)
Round 4-3,5,6(kid 3 has to leave the circle;kid 5 will start the rhyme)
Round 5-5,6(kid 6 has to leave the circle;kid 5 is winner)

/*
(c) Copyright 2013, CodingGuru.
The logic used is:
Finding no_words'th kid to mark him as lost by rotating through the array(if not found within upper bound of array).
The next variable tracks where we are in the array to find next loser. It is implied from the ploblem statement that
number_of_kids-1 loosers will be present, when found the winner. So we run through loop till loosers_count equals
number_of_kids-1.

Note : The behaviour of the program is unknown for inputs other than integer.
*/




WON 1
LOST 0

int main()
{
int no_words, no_kids, i, called, next, skip;
int *play;
int loser;
int losers_count;

read: printf("How many kids want to play: ");
scanf("%d",&no_kids);
printf("With how many words: ");
scanf("%d",&no_words);
if(no_kids

21/12/2013

A small program to count number of occurrences of the characters in a string
/*
(c) Copyright 2013, CodingGuru.
This program treats space, tab and newline characters as input delimeters,
also it cannot handle control chracters(ctrl+F*) and some of the special characters.
*/




NUMBER_ALPHA 26
MAX_CHARS 100
CAPITAL_START 'A'
SMALL_START 'a'
CAPITAL_END 'Z'
SMALL_END 'z'
SING_PLU(c) c>1?'s':' ' /* Silly but used for output readability*/
int
main()
{
char str[MAX_CHARS];
int small[NUMBER_ALPHA];
int capital[NUMBER_ALPHA];
int i, len;
for(i=0;i

Address

Bangalore

Website

Alerts

Be the first to know and let us send you an email when Coding Guru posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share