Skip to main content

Posts

Some Points About C Programming: Every Programmer Should Know

Some important points in C Programming Here I am writing some points about C programming which I acquired during my learning about programming. These points may help you to get more from the C language, and increase the curiosity to explore it wider. 1) You can not use return keyword in ternary operators(?,:) 2) You can't left the bracket empty of while and for loops like while() and for(); 3) if i=5; then i=i+(6,7,8,2,9); will assign i=5+9;Because of ',' operator association. 4) You can only apply the register specifier to local variables and to the formal parameters in a function. 5) If You declared too many register variables then compiler automatically transforms register variables into non register variables when the limit is reached. 6) You can't obtain the address of a register variable by using the & operator. 7) Register variable only for int and char type.It may support other types(not in Dev-C++5.3.0.4) but significa...

Error parsing XML, line 653, column 90: The reference to entity "skin" must end with the ';' delimiter.

                      I n the following post we will look up an error, heading of the post. If you are trying to insert some code in a web project,an existing website or blogger template. The following error can occur. "Error parsing XML, line 653, column 90: The reference to entity "skin" must end with the ';' delimiter." If you go to the location in file as mentioned line number and column number(obviously line no. and column no. can be different in each case) in the error string, You will see the html entity. HTML entity is a symbol which you can not use directly but you have to replace the symbol with some formatted text. For example we replace ' Here the list of html entities and their equivalent name. Result Description Entity Name Entity Number non-breaking space     ...

Easiest Method to Read and Write into Files Streams in Competitive Programming

                      T his article is about easiest way to perform read and write operation from file. File handling is one of the most important aspect of programming and it becomes more important when we do competitive programming. Here are some context when you need to deal with files in comptetive programming. 1) Some specific programming contests like Google Code Jam and Facebook Hacker Cup they provide a file for input. You have to read input from that file and write answers into a file and upload on server within limited time. 2) If you are trying to code for a problem. Suppose the problem was that a square matrix is given and you have to rotate the matrix by 90 degree clock-wise. First line of input indicate the total no. of test cases and first line before matrix represents size of matrix. Then input would be like this. 3 5 10 23 43 34 21 11 13 43 30 71 10 23 43 ...

SapientNitro Campus Placement 2014-15 HBTI Kanpur

SapientNitro visited our campus for hiring. I am sharing the details of selection process. CTC 4.5 Lacks Bond of 1.5 years: yes there was a bond of one and half years First of all I want to tell something important about this company. It is very nice company for those who have intention to continue preparation like CAT and others, because they have intensive training program for 6 months.So you can get some leisure and opportunity to learn some good technologies. Selection Procedure: online Test The online test conducted by amcat in HBTI CSE department. It has 4 sections, details of each are following. Quantitative Aptitude Time:30 minutes No. of Question: 25(around) Logical Reasoning Time:30 minutes No. of Question: 25(around) English Time:30 minutes No. of Question: 25(around) Technical Time:30 minutes No. of Question: 25(around) In the technical Paper they included C,C++,DS,Algo and OOPs concept. Note: Each section...

Mu Sigma Campus Placement 2014-15 HBTI Kanpur

Mu Sigma Campus Placement Mu Sigma visited our campus to hire for business analyst profile. I am sharing the details of selection process. Package: 18 Lacks for 3 Years They tell about the package that 18 lacks will be for three years. First years they give nearly 3.5 lacks and they will raise after first year and promised to give total in three years. Branch: Open for All Selection Procedure: It was two day process. Day 1: online Test Time: 20 Minute No. of Questions: 15 The test paper contain typical MBA entrance exam questions. Only thing you should care about the negative marking. The negative marking was nearly equal to correct mark like +1 for right and -1 for wrong. Day 2: They short-listed some student on the basis of previous day test. On the 2nd day, there was three process and each was elimination round. Process 1: Case study In this round They took a pen-paper test. There was two questions in Paper. Q1. The fi...

Newgen Software Campus Placement(Paper) HBTI Kanpur 2014-15

Newzen Campus Placement In the second week of November 2014 Newgen software visited our campus.There were various rounds in the selection process.I am sharing here all necessary information and details regarding the whole placement procedure. Criteria: 60% 10th,12th and B.Tech CTC: 3.75 LPA Profile: Software Devloper Branch: CS,IT and MCA Selection Procedure Round 1: The first process was written test and it was a pen-paper round. There were tow seprate papers and the details of both papers are below. Paper A (Aptitude,Logical Reasoning,English) In this paper the questions of Aptitude,LR and English were in almost equal proportion and the level of question was not quite easy,So try your hand on some good questions before the test. Paper B (Technical) The second paper was technical.I am giving the Questions and details of that paper. Time: 35 minutes No...

Snapdeal Campus Placement 2014-15 HBTI Kanpur

Snapdeal Campus Placement In the 3rd week of May 2015, just after the end semester exams Snapdeal visited our campus.There were multiple online tests and multiple round in f2f interview. The necessary information and details are here. Criteria: No CTC: 6.75 LPA Profile: SDET(Software Development Engineer in Test) Branch: CS,IT Selection Procedure Online Test The first round was online test.They conducted the test online provided by third party website.There was three papers.The description of each paper are below. Paper-1 (Aptitude,Logical Reasoning,English) Time: 12 Minute No. of Questions: 50 You don't need to surpise and there is no typing error. There was 50 questions to solve in just 12 minutes.But you don't need to be panic the questions were quite easy. Paper-2 (Programming) Time: 45 minutes This round was most important because you must have solve at least on of the programm...