Open In App

IFM Engineering Interview Experience for Automation Test Engineer

Interview Round 1: It was a 20-25 minutes interview on MS Teams.




#include<stdio.h>  
int main()  
{  
    int n1 = 0, n2 = 1, n3, count, num;  
    printf("Enter the number of terms:");  
    scanf("%d", &num);  
    printf("%d%d", n1, n2);
    for(count = 3; count <= num; count++)  
    {  
        n3 = n1 + n2;  
        printf("%d", n3);  
        n1 = n2;  
        n2 = n3;  
    }  
    return 0;  
}

Note: I missed some syntax here but realized and resolved it before submitting my code also I explained a bit about my solution.



Suggestion: I would suggest doing practice from sites like GeeksforGeeks, Hackerrank, etc. as it will give the confidence to solve problems.

Note: Some other questions were quite general.



Verdict: Selected.

Article Tags :