f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?
9 17223main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?
12 29319What is the output of the below program and how it is? void main() { static int var=5; printf("%d",var--); if(var) main(); }
8 16943Write a c program to print the even numbers followed by odd numbers in an array without using additional array
1 2927Post New Tech Mahindra C Interview Questions
Explain the netscalar one-arm mode deployment model.
. Using sed and grep, write a command which lists files and directories with following properties: (i) created in 1999 (ii) with user's as owner and group
What is the difference between session bean and entity bean ?
How to show internal storage representation of data structure in RDBM?
Questions for role of a QC engineer at NDS,Bangalore 1st round is written 20 questions on aptitude and 10 question on testing Aptitude--problems on time and distance,tap problem,ages,time and work,probability, Testing 1.Difference Between QA & QC 2.Any 4 types of SDLC models with diagram. Also Pros and cons of each model 3.What is application Testing And embedded testing 4.Qualities of a good tester 5.Test cases for registering user. One field for user name,2 fields for password,"ok" and "cancel" button 6.What is a bug,explain Bug life cycle 7.Difference between priority and severity? 8.Some question on software design
Explain the difference between the attributes immediate and rendered?
Differentiate between usobx_c and usobt_c
hai iam venkat iam appering RRB exam chennai on 23 nov 2008. pls help me wat kind of questions i to prepare? mail {venkiremo_krv@yahoo.co.in]
What are quasi sovereign bonds?
What are match codes? describe?
State norton’s theorem?
How can you define a continuous delivery workflow?
What is rock quarry?
How do you respond to dementia behavior?
Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it