Emacs way – copying text
In Emcas if you want to copy a region of text from one file to another then you can just press {C-space} as beginning of copying and then take your cursor to the point till where you want to copy. Then...
View Articlewhy companies fail to hire good talent
Recently Net Cloud Systems, Bangalore (INDIA) approached me for interview. They needed someone specialized in C and UNIX and since my last 5 years of industrial experience is full of C, Linux and UNIX,...
View ArticleDeath of comp.object
If you are passionate about programming then you must have discussed about programming on some Newsgroup. It is really sad to see that current generation of programmers have never heard of something...
View ArticleHCL Interview
Earlier I wrote about my interview experience with NetCloud Systems Bangalore. Recently I appeared for an interview with HCL Technologies. (HCL Technologies is on the Forbes Global 2000 list.[13] It is...
View ArticleWhat does a Software Company need ?
I thought of making this part of my cover-letter but I decided to put it here instead on my blog: One, I have 5 years and 3 months of experience primarily in C & Linux/UNIX and secondarily in C++,...
View ArticleInterview Question — Printing a Palindrome
This was asked recently to me in an interview. Problem is explained in the comments: OUTPUT: [arnuld@arch64 programs]$ gcc -ansi -pedantic -Wall -Wextra palindrome.c [arnuld@arch64 programs]$...
View ArticleC quiz
I was looking at an online C language quiz and came across this: This will never compile. Guess why. Because You can’t initialize struct members in declaration. Here is what gcc 7.2.1 will throw:...
View ArticleLiterate Programming
I was reading Knuth’s The Art of Computer Programming, the seminal in algorithms. I was unable to understand some parts of section 1.2.10 (analysis of an algorithm), so I asked on IRC channels (like...
View ArticleGoogle Interview Round 2 Question
I was just searching for C and C++ related topics and came across Google interview question.: /** * * Google OnSite Round 2 * * Input is an integer array A * Return an array B such that B[i] = product...
View ArticleThe End
Just like the other things we do in life, this blog has come to an end. I have moved onto to do something better in life. It exists here only as an archive. Thanks Advertisements
View Article